summaryrefslogtreecommitdiffstats
path: root/framework/domain
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-05 13:00:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-05 13:00:21 +0200
commit5755ad47145d2985ba74354961b4127d82c516f6 (patch)
treeaa6af562b7e587be895ff5a4355270f82f3ea180 /framework/domain
parente78224a7d9ccf70aadde8c0bff1cab72e8cb7438 (diff)
downloadkube-5755ad47145d2985ba74354961b4127d82c516f6.tar.gz
kube-5755ad47145d2985ba74354961b4127d82c516f6.zip
A single framework plugin
Diffstat (limited to 'framework/domain')
-rw-r--r--framework/domain/CMakeLists.txt2
-rw-r--r--framework/domain/actions/tests/CMakeLists.txt2
-rw-r--r--framework/domain/mailplugin.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/framework/domain/CMakeLists.txt b/framework/domain/CMakeLists.txt
index 38e0eb12..e1482301 100644
--- a/framework/domain/CMakeLists.txt
+++ b/framework/domain/CMakeLists.txt
@@ -34,8 +34,8 @@ add_library(mailplugin SHARED ${mailplugin_SRCS})
34qt5_use_modules(mailplugin Core Quick Qml WebKitWidgets Test) 34qt5_use_modules(mailplugin Core Quick Qml WebKitWidgets Test)
35target_link_libraries(mailplugin actionplugin settingsplugin sink mimetreeparser KF5::MimeTreeParser KF5::Codecs KF5::Package KAsync) 35target_link_libraries(mailplugin actionplugin settingsplugin sink mimetreeparser KF5::MimeTreeParser KF5::Codecs KF5::Package KAsync)
36 36
37add_subdirectory(actions/tests)
38 37
39install(TARGETS mailplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) 38install(TARGETS mailplugin DESTINATION ${FRAMEWORK_INSTALL_DIR})
40 39
40add_subdirectory(actions/tests)
41add_subdirectory(mimetreeparser) 41add_subdirectory(mimetreeparser)
diff --git a/framework/domain/actions/tests/CMakeLists.txt b/framework/domain/actions/tests/CMakeLists.txt
index dc9d01b1..2c34d628 100644
--- a/framework/domain/actions/tests/CMakeLists.txt
+++ b/framework/domain/actions/tests/CMakeLists.txt
@@ -3,4 +3,4 @@ cmake_policy(SET CMP0063 NEW)
3add_executable(sinkactiontest sinkactiontest.cpp) 3add_executable(sinkactiontest sinkactiontest.cpp)
4add_test(sinkactiontest sinkactiontest) 4add_test(sinkactiontest sinkactiontest)
5qt5_use_modules(sinkactiontest Core Test Concurrent) 5qt5_use_modules(sinkactiontest Core Test Concurrent)
6target_link_libraries(sinkactiontest sink actionplugin KF5::Mime mailplugin) 6target_link_libraries(sinkactiontest sink frameworkplugin KF5::Mime)
diff --git a/framework/domain/mailplugin.cpp b/framework/domain/mailplugin.cpp
index 12b9a7ce..b32832e0 100644
--- a/framework/domain/mailplugin.cpp
+++ b/framework/domain/mailplugin.cpp
@@ -37,8 +37,6 @@
37 37
38void MailPlugin::registerTypes (const char *uri) 38void MailPlugin::registerTypes (const char *uri)
39{ 39{
40 Q_ASSERT(uri == QLatin1String("org.kube.framework.domain"));
41
42 qmlRegisterType<FolderListModel>(uri, 1, 0, "FolderListModel"); 40 qmlRegisterType<FolderListModel>(uri, 1, 0, "FolderListModel");
43 qmlRegisterType<MailListModel>(uri, 1, 0, "MailListModel"); 41 qmlRegisterType<MailListModel>(uri, 1, 0, "MailListModel");
44 qmlRegisterType<ComposerController>(uri, 1, 0, "ComposerController"); 42 qmlRegisterType<ComposerController>(uri, 1, 0, "ComposerController");