diff options
Diffstat (limited to 'framework/actions')
-rw-r--r-- | framework/actions/CMakeLists.txt | 17 | ||||
-rw-r--r-- | framework/actions/actionplugin.cpp | 16 | ||||
-rw-r--r-- | framework/actions/actionplugin.h | 13 |
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 @@ | |||
1 | set(SRCS | ||
2 | actionplugin.cpp | ||
3 | action.cpp | ||
4 | actionhandler.cpp | ||
5 | actionbroker.cpp | ||
6 | actionresult.cpp | ||
7 | context.cpp | ||
8 | ) | ||
9 | |||
10 | add_library(actionplugin SHARED ${SRCS}) | ||
11 | |||
12 | target_link_libraries(actionplugin KAsync sink) | ||
13 | qt5_use_modules(actionplugin Core Quick Qml) | ||
14 | |||
15 | install(TARGETS actionplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) | ||
16 | |||
17 | add_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 | |||
10 | void 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 | |||
6 | class KubePlugin : public QQmlExtensionPlugin | ||
7 | { | ||
8 | Q_OBJECT | ||
9 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||
10 | |||
11 | public: | ||
12 | virtual void registerTypes(const char *uri); | ||
13 | }; | ||