summaryrefslogtreecommitdiffstats
path: root/framework/actions
diff options
context:
space:
mode:
Diffstat (limited to 'framework/actions')
-rw-r--r--framework/actions/CMakeLists.txt17
-rw-r--r--framework/actions/actionplugin.cpp16
-rw-r--r--framework/actions/actionplugin.h13
3 files changed, 0 insertions, 46 deletions
diff --git a/framework/actions/CMakeLists.txt b/framework/actions/CMakeLists.txt
deleted file mode 100644
index 72dd9fcd..00000000
--- a/framework/actions/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
1set(SRCS
2 actionplugin.cpp
3 action.cpp
4 actionhandler.cpp
5 actionbroker.cpp
6 actionresult.cpp
7 context.cpp
8)
9
10add_library(actionplugin SHARED ${SRCS})
11
12target_link_libraries(actionplugin KAsync sink)
13qt5_use_modules(actionplugin Core Quick Qml)
14
15install(TARGETS actionplugin DESTINATION ${FRAMEWORK_INSTALL_DIR})
16
17add_subdirectory(tests)
diff --git a/framework/actions/actionplugin.cpp b/framework/actions/actionplugin.cpp
deleted file mode 100644
index b55504fc..00000000
--- a/framework/actions/actionplugin.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
1#include "actionplugin.h"
2
3#include "action.h"
4#include "context.h"
5#include "actionhandler.h"
6#include "actionresult.h"
7
8#include <QtQml>
9
10void KubePlugin::registerTypes (const char *uri)
11{
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 qmlRegisterType<Kube::ActionResult>(uri, 1, 0, "ActionResult");
16}
diff --git a/framework/actions/actionplugin.h b/framework/actions/actionplugin.h
deleted file mode 100644
index e276da3b..00000000
--- a/framework/actions/actionplugin.h
+++ /dev/null
@@ -1,13 +0,0 @@
1#pragma once
2
3#include <QQmlEngine>
4#include <QQmlExtensionPlugin>
5
6class KubePlugin : public QQmlExtensionPlugin
7{
8 Q_OBJECT
9 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
10
11public:
12 virtual void registerTypes(const char *uri);
13};