File indexing completed on 2022-11-29 20:24:03

0001 /*
0002     SPDX-FileCopyrightText: 2016-2022 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 }