mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-09 17:18:11 +03:00
42 lines
785 B
C++
42 lines
785 B
C++
/*
|
|
SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef UNIQUEIDINFODATA_H
|
|
#define UNIQUEIDINFODATA_H
|
|
|
|
//! Qt
|
|
#include <QMetaType>
|
|
#include <QString>
|
|
|
|
namespace Latte {
|
|
namespace Data {
|
|
|
|
class UniqueIdInfo
|
|
{
|
|
public:
|
|
UniqueIdInfo();
|
|
UniqueIdInfo(UniqueIdInfo &&o);
|
|
UniqueIdInfo(const UniqueIdInfo &o);
|
|
|
|
//! Unique Id nifo
|
|
QString newId;
|
|
QString newName;
|
|
QString oldId;
|
|
QString oldName;
|
|
|
|
//! Operators
|
|
UniqueIdInfo &operator=(const UniqueIdInfo &rhs);
|
|
UniqueIdInfo &operator=(UniqueIdInfo &&rhs);
|
|
bool operator==(const UniqueIdInfo &rhs) const;
|
|
bool operator!=(const UniqueIdInfo &rhs) const;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
Q_DECLARE_METATYPE(Latte::Data::UniqueIdInfo)
|
|
|
|
#endif
|