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 
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 }