diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-09-13 14:14:56 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-09-13 14:14:56 -0300 |
commit | a03360ce3fa4b2de50917188a8a816992e864ba1 (patch) | |
tree | 9c84e059c6011304328480b52ea215c2bd8818ef /src/QMenuModel | |
parent | d2e99cfb78dfcdad000faf9c1c7d4e5a40d53f95 (diff) | |
download | qmenumodel-a03360ce3fa4b2de50917188a8a816992e864ba1.tar.gz qmenumodel-a03360ce3fa4b2de50917188a8a816992e864ba1.tar.bz2 qmenumodel-a03360ce3fa4b2de50917188a8a816992e864ba1.zip |
Created class QStateAction to use as GAction proxy.
Diffstat (limited to 'src/QMenuModel')
-rw-r--r-- | src/QMenuModel/plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/QMenuModel/plugin.cpp b/src/QMenuModel/plugin.cpp index 9fd7922..fbd943c 100644 --- a/src/QMenuModel/plugin.cpp +++ b/src/QMenuModel/plugin.cpp @@ -21,6 +21,7 @@ #include "qmenumodel.h" #include "qdbusmenumodel.h" #include "qdbusactiongroup.h" +#include "qstateaction.h" #include <QtDeclarative> @@ -31,6 +32,7 @@ void QMenuModelQmlPlugin::registerTypes(const char *uri) "QMenuModel is a interface"); qmlRegisterType<QDBusMenuModel>(uri, 0, 1, "QDBusMenuModel"); qmlRegisterType<QDBusActionGroup>(uri, 0, 1, "QDBusActionGroup"); + qmlRegisterType<QStateAction>(uri, 0, 1, "QStateAction"); } Q_EXPORT_PLUGIN2(qmenumodel, QMenuModelQmlPlugin) |