File indexing completed on 2022-09-27 16:31:47

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