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 /tests/client/menuchangestest.cpp | |
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 'tests/client/menuchangestest.cpp')
-rw-r--r-- | tests/client/menuchangestest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/menuchangestest.cpp b/tests/client/menuchangestest.cpp index 64c1729..2015582 100644 --- a/tests/client/menuchangestest.cpp +++ b/tests/client/menuchangestest.cpp @@ -46,7 +46,7 @@ private Q_SLOTS: void init() { m_model.stop(); - m_model.setBusType(QDBusObject::SessionBus); + m_model.setBusType(DBusEnums::SessionBus); m_model.setBusName(MENU_SERVICE_NAME); m_model.setObjectPath(MENU_OBJECT_PATH); } |