From 021dde561b5ce86820013c681ff554b07590b052 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 4 Jan 2016 23:24:43 +0100 Subject: Prototype of the action system --- framework/actions/actionplugin.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 framework/actions/actionplugin.cpp (limited to 'framework/actions/actionplugin.cpp') 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 @@ +#include "actionplugin.h" + +#include "action.h" +#include "context.h" +#include "actionhandler.h" + +#include + +void KubePlugin::registerTypes (const char *uri) +{ + Q_ASSERT(uri == QLatin1String("org.kde.kube.actions")); + qmlRegisterType(uri, 1, 0, "Context"); + qmlRegisterType(uri, 1, 0, "Action"); + qmlRegisterType(uri, 1, 0, "ActionHandler"); +} -- cgit v1.2.3