diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:02:48 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:02:48 +0200 |
commit | 7c94d55f866794b2f1bb33b1f241552496b59b31 (patch) | |
tree | 675e547aeab1f9251934a96ff6c67a5e1980453c /framework/actions | |
parent | 5755ad47145d2985ba74354961b4127d82c516f6 (diff) | |
download | kube-7c94d55f866794b2f1bb33b1f241552496b59b31.tar.gz kube-7c94d55f866794b2f1bb33b1f241552496b59b31.zip |
Removed old files
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 | }; | ||