aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/QMenuModel
diff options
context:
space:
mode:
authorNick Dedekind <nicholas.dedekind@gmail.com>2013-08-21 21:39:47 +0100
committerNick Dedekind <nicholas.dedekind@gmail.com>2013-08-21 21:39:47 +0100
commit72cd124bc6a71d7be3bf9e6602c9de55156508ee (patch)
treeeb1ca7e866de1e219dd4fe8b15ad48feefc59044 /libqmenumodel/QMenuModel
parentbac9f37d6fc619e3c1c57754e0afe7b197c7668c (diff)
downloadqmenumodel-72cd124bc6a71d7be3bf9e6602c9de55156508ee.tar.gz
qmenumodel-72cd124bc6a71d7be3bf9e6602c9de55156508ee.tar.bz2
qmenumodel-72cd124bc6a71d7be3bf9e6602c9de55156508ee.zip
Added UnityMenuAction for out-of-line actions. Action muxer copied to submenus.
Diffstat (limited to 'libqmenumodel/QMenuModel')
-rw-r--r--libqmenumodel/QMenuModel/plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libqmenumodel/QMenuModel/plugin.cpp b/libqmenumodel/QMenuModel/plugin.cpp
index 0629099..117a37a 100644
--- a/libqmenumodel/QMenuModel/plugin.cpp
+++ b/libqmenumodel/QMenuModel/plugin.cpp
@@ -22,6 +22,7 @@
#include "qdbusmenumodel.h"
#include "qdbusactiongroup.h"
#include "qstateaction.h"
+#include "unitymenuaction.h"
#include "unitymenumodel.h"
#include "unitythemediconprovider.h"
@@ -44,4 +45,5 @@ void QMenuModelQmlPlugin::registerTypes(const char *uri)
qmlRegisterType<QDBusMenuModel>(uri, 0, 1, "QDBusMenuModel");
qmlRegisterType<QDBusActionGroup>(uri, 0, 1, "QDBusActionGroup");
qmlRegisterType<UnityMenuModel>(uri, 0, 1, "UnityMenuModel");
+ qmlRegisterType<UnityMenuAction>(uri, 0, 1, "UnityMenuAction");
}