aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/QMenuModel
diff options
context:
space:
mode:
authorNick Dedekind <nicholas.dedekind@gmail.com>2013-08-30 10:13:58 +0000
committerTarmac <>2013-08-30 10:13:58 +0000
commitdb40e8437fb92e69f7ed53eb304a712bb0150f8a (patch)
treec9edc6aab5a20ece8e980e59c6bd45b9966eb177 /libqmenumodel/QMenuModel
parent751f4fb8d46b34672cd625eceafddaa8b33041cd (diff)
parent8cc3f9af6063a7256936da9813b6917023b1f626 (diff)
downloadqmenumodel-db40e8437fb92e69f7ed53eb304a712bb0150f8a.tar.gz
qmenumodel-db40e8437fb92e69f7ed53eb304a712bb0150f8a.tar.bz2
qmenumodel-db40e8437fb92e69f7ed53eb304a712bb0150f8a.zip
Added UnityMenuAction for "out-of-menu" actions.
Approved by Lars Uebernickel, PS Jenkins bot.
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 21429ec..b7a4400 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 <QtQml>
@@ -42,4 +43,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");
}