diff options
author | Olivier Tilloy <olivier.tilloy@canonical.com> | 2012-10-04 12:04:46 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier.tilloy@canonical.com> | 2012-10-04 12:04:46 +0200 |
commit | 36426c5ef4e8d3c8e850996c447d6999e21479c6 (patch) | |
tree | c4d0e3c5572a9e344050ea240ce6d677cc8290e2 /src/common/qdbusmenumodel.h | |
parent | a9416ebfa48082278abd2a237964989334fc24c5 (diff) | |
download | qmenumodel-36426c5ef4e8d3c8e850996c447d6999e21479c6.tar.gz qmenumodel-36426c5ef4e8d3c8e850996c447d6999e21479c6.tar.bz2 qmenumodel-36426c5ef4e8d3c8e850996c447d6999e21479c6.zip |
Move the enums into a class that inherits QObject, so they can be exposed and used directly from QML.
Diffstat (limited to 'src/common/qdbusmenumodel.h')
-rw-r--r-- | src/common/qdbusmenumodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/qdbusmenumodel.h b/src/common/qdbusmenumodel.h index 9af516d..2660ffe 100644 --- a/src/common/qdbusmenumodel.h +++ b/src/common/qdbusmenumodel.h @@ -38,10 +38,10 @@ public: ~QDBusMenuModel(); Q_SIGNALS: - void busTypeChanged(BusType type); + void busTypeChanged(DBusEnums::BusType type); void busNameChanged(const QString &busNameChanged); void objectPathChanged(const QString &objectPath); - void statusChanged(QDBusObject::ConnectionStatus status); + void statusChanged(DBusEnums::ConnectionStatus status); public Q_SLOTS: void start(); |