aboutsummaryrefslogtreecommitdiff
path: root/tests/client/menuchangestest.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-04 12:04:46 +0200
committerOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-04 12:04:46 +0200
commit36426c5ef4e8d3c8e850996c447d6999e21479c6 (patch)
treec4d0e3c5572a9e344050ea240ce6d677cc8290e2 /tests/client/menuchangestest.cpp
parenta9416ebfa48082278abd2a237964989334fc24c5 (diff)
downloadqmenumodel-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.cpp2
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);
}