6#include <QtCore/QJsonObject>
7#include <QtCore/QJsonArray>
8#include <QtCore/QJsonValue>
9#include <QtCore/QString>
19 [[nodiscard]] QString GetName()
const;
20 void SetName(
const QString& name);
22 [[nodiscard]] QString GetIdentifier()
const;
23 void SetIdentifier(
const QString& identifier);
25 [[nodiscard]] QString GetUrl()
const;
26 void SetUrl(
const QString& url);
28 static bool ReadFromJsonObject(CLicense&
object,
const QJsonObject& jsonObject,
const QJsonObject& globalObject);
30 bool operator==(
const CLicense& other)
const;
31 bool operator!=(
const CLicense& other)
const {
return !(operator==(other)); }
43Q_DECLARE_METATYPE(imtoas::CLicense);