mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-23 07:35:54 +00:00
26 lines
573 B
C
26 lines
573 B
C
|
#pragma once
|
||
|
|
||
|
#include <QMetaType>
|
||
|
|
||
|
class QDBusArgument;
|
||
|
|
||
|
class LayoutNames
|
||
|
{
|
||
|
Q_GADGET
|
||
|
|
||
|
Q_PROPERTY(QString shortName MEMBER shortName)
|
||
|
Q_PROPERTY(QString displayName MEMBER displayName)
|
||
|
Q_PROPERTY(QString longName MEMBER longName)
|
||
|
|
||
|
public:
|
||
|
static void registerMetaType();
|
||
|
|
||
|
QString shortName;
|
||
|
QString displayName;
|
||
|
QString longName;
|
||
|
};
|
||
|
Q_DECLARE_METATYPE(LayoutNames)
|
||
|
|
||
|
QDBusArgument &operator<<(QDBusArgument &argument, const LayoutNames &layoutNames);
|
||
|
const QDBusArgument &operator>>(const QDBusArgument &argument, LayoutNames &layoutNames);
|