diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2016-12-23 11:52:47 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals@canonical.com> | 2017-01-02 10:31:25 +0000 |
commit | 59ae55e12e075005ceae6e353ef1ee00817ec751 (patch) | |
tree | 83dcec3230d244aeb3b7b8aaf4a01147f6c4f887 /src/dbus/qdbusconnectioninterface.h | |
parent | 92f6a4588f6bfc78e9b8b536ec7895d048c3aa30 (diff) |
Q_ENUMS -> Q_ENUM and Q_FLAGS -> Q_FLAG
Change-Id: I3cdc7338354da40ab20bdaeb9d5745264ea27228
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/dbus/qdbusconnectioninterface.h')
-rw-r--r-- | src/dbus/qdbusconnectioninterface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dbus/qdbusconnectioninterface.h b/src/dbus/qdbusconnectioninterface.h index 7b694a1f96..37f35dbe81 100644 --- a/src/dbus/qdbusconnectioninterface.h +++ b/src/dbus/qdbusconnectioninterface.h @@ -61,7 +61,6 @@ class QByteArray; class Q_DBUS_EXPORT QDBusConnectionInterface: public QDBusAbstractInterface { Q_OBJECT - Q_ENUMS(ServiceQueueOptions ServiceReplacementOptions RegisterServiceReply) friend class QDBusConnectionPrivate; static inline const char *staticInterfaceName(); @@ -76,15 +75,18 @@ public: QueueService, ReplaceExistingService }; + Q_ENUM(ServiceQueueOptions) enum ServiceReplacementOptions { DontAllowReplacement, AllowReplacement }; + Q_ENUM(ServiceReplacementOptions) enum RegisterServiceReply { ServiceNotRegistered = 0, ServiceRegistered, ServiceQueued }; + Q_ENUM(RegisterServiceReply) public Q_SLOTS: QDBusReply<QStringList> registeredServiceNames() const; |