diff options
Diffstat (limited to 'src/QMenuModel/plugin.cpp')
-rw-r--r-- | src/QMenuModel/plugin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/QMenuModel/plugin.cpp b/src/QMenuModel/plugin.cpp index e6a828b..4b5b18e 100644 --- a/src/QMenuModel/plugin.cpp +++ b/src/QMenuModel/plugin.cpp @@ -1,15 +1,17 @@ #include "plugin.h" #include "qmenumodel.h" #include "qdbusmenumodel.h" +#include "qdbusactiongroup.h" #include <QtDeclarative> void QMenuModelQmlPlugin::registerTypes(const char *uri) { - qmlRegisterUncreatableType<QMenuModel>(uri, 1, 0, "QMenuModel", + qmlRegisterUncreatableType<QMenuModel>(uri, 0, 1, "QMenuModel", "QMenuModel is a interface"); - qmlRegisterType<QDBusMenuModel>(uri, 1, 0, "QDBusMenuModel"); + qmlRegisterType<QDBusMenuModel>(uri, 0, 1, "QDBusMenuModel"); + qmlRegisterType<QDBusActionGroup>(uri, 0, 1, "QDBusActionGroup"); } Q_EXPORT_PLUGIN2(qmenumodel, QMenuModelQmlPlugin) |