File indexing completed on 2024-11-10 08:01:00
0001 /* 0002 SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef UNIQUEIDINFODATA_H 0007 #define UNIQUEIDINFODATA_H 0008 0009 //! Qt 0010 #include <QMetaType> 0011 #include <QString> 0012 0013 namespace Latte { 0014 namespace Data { 0015 0016 class UniqueIdInfo 0017 { 0018 public: 0019 UniqueIdInfo(); 0020 UniqueIdInfo(UniqueIdInfo &&o); 0021 UniqueIdInfo(const UniqueIdInfo &o); 0022 0023 //! Unique Id nifo 0024 QString newId; 0025 QString newName; 0026 QString oldId; 0027 QString oldName; 0028 0029 //! Operators 0030 UniqueIdInfo &operator=(const UniqueIdInfo &rhs); 0031 UniqueIdInfo &operator=(UniqueIdInfo &&rhs); 0032 bool operator==(const UniqueIdInfo &rhs) const; 0033 bool operator!=(const UniqueIdInfo &rhs) const; 0034 }; 0035 0036 } 0037 } 0038 0039 Q_DECLARE_METATYPE(Latte::Data::UniqueIdInfo) 0040 0041 #endif