summaryrefslogtreecommitdiffstats
path: root/framework/actions
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-05 13:02:48 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-05 13:02:48 +0200
commit7c94d55f866794b2f1bb33b1f241552496b59b31 (patch)
tree675e547aeab1f9251934a96ff6c67a5e1980453c /framework/actions
parent5755ad47145d2985ba74354961b4127d82c516f6 (diff)
downloadkube-7c94d55f866794b2f1bb33b1f241552496b59b31.tar.gz
kube-7c94d55f866794b2f1bb33b1f241552496b59b31.zip
Removed old files
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};