diff options
author | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-07-30 12:02:01 +0100 |
---|---|---|
committer | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-07-30 12:02:01 +0100 |
commit | 559df4bb3201c14d408d3a2b7bdd5101b7d75a29 (patch) | |
tree | 6abe5ac6cea1593c4effdea00c3087e4c9f37ede /libqmenumodel/QMenuModel | |
parent | c796dd5f1f75dd063fabf1b9ae8b24ec5714e197 (diff) | |
parent | d1c96de04570d8365c2ab2fde597ccd21c7a3dc2 (diff) | |
download | qmenumodel-559df4bb3201c14d408d3a2b7bdd5101b7d75a29.tar.gz qmenumodel-559df4bb3201c14d408d3a2b7bdd5101b7d75a29.tar.bz2 qmenumodel-559df4bb3201c14d408d3a2b7bdd5101b7d75a29.zip |
merged with parent
Diffstat (limited to 'libqmenumodel/QMenuModel')
-rw-r--r-- | libqmenumodel/QMenuModel/plugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libqmenumodel/QMenuModel/plugin.cpp b/libqmenumodel/QMenuModel/plugin.cpp index 0629099..c1a5e40 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" @@ -40,6 +41,8 @@ void QMenuModelQmlPlugin::registerTypes(const char *uri) "QStateAction must be created by QDBusActionGroup::action"); qmlRegisterUncreatableType<DBusEnums>(uri, 0, 1, "DBus", "DBus is only a namespace"); + qmlRegisterUncreatableType<UnityMenuAction>(uri, 0, 1, "UnityMenuAction", + "UnityMenuAction must be created by UnityMenuModel"); qmlRegisterType<QDBusMenuModel>(uri, 0, 1, "QDBusMenuModel"); qmlRegisterType<QDBusActionGroup>(uri, 0, 1, "QDBusActionGroup"); |