Warning, file /utilities/kdebugsettings/src/renamecategory.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2016-2023 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 
0006 */
0007 
0008 #include "renamecategory.h"
0009 
0010 bool RenameCategory::operator==(const RenameCategory &other) const
0011 {
0012     return (originalName == other.originalName) && (newName == other.newName);
0013 }
0014 
0015 bool RenameCategory::isValid() const
0016 {
0017     return !originalName.isEmpty() && !newName.isEmpty();
0018 }