File indexing completed on 2024-05-12 05:52:35

0001 /*
0002     SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 
0006 */
0007 #pragma once
0008 
0009 #include "libkdebugsettingscore_private_export.h"
0010 #include <QList>
0011 #include <QObject>
0012 #include <QString>
0013 struct LIBKDEBUGSETTINGSCORE_EXPORT_TEST_EXPORT RenameCategory {
0014 public:
0015     RenameCategory() = default;
0016 
0017     using List = QList<RenameCategory>;
0018     [[nodiscard]] bool operator==(const RenameCategory &other) const;
0019     [[nodiscard]] bool isValid() const;
0020 
0021     QString originalName;
0022     QString newName;
0023 };
0024 Q_DECLARE_TYPEINFO(RenameCategory, Q_RELOCATABLE_TYPE);
0025 Q_DECLARE_METATYPE(RenameCategory)