summaryrefslogtreecommitdiffstats
path: root/framework/actions/actionplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/actions/actionplugin.cpp')
-rw-r--r--framework/actions/actionplugin.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/framework/actions/actionplugin.cpp b/framework/actions/actionplugin.cpp
new file mode 100644
index 00000000..710ba08a
--- /dev/null
+++ b/framework/actions/actionplugin.cpp
@@ -0,0 +1,15 @@
1#include "actionplugin.h"
2
3#include "action.h"
4#include "context.h"
5#include "actionhandler.h"
6
7#include <QtQml>
8
9void KubePlugin::registerTypes (const char *uri)
10{
11 Q_ASSERT(uri == QLatin1String("org.kde.kube.actions"));
12 qmlRegisterType<Kube::Context>(uri, 1, 0, "Context");
13 qmlRegisterType<Kube::Action>(uri, 1, 0, "Action");
14 qmlRegisterType<Kube::ActionHandler>(uri, 1, 0, "ActionHandler");
15}