diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:00:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:00:21 +0200 |
commit | 5755ad47145d2985ba74354961b4127d82c516f6 (patch) | |
tree | aa6af562b7e587be895ff5a4355270f82f3ea180 /framework/domain | |
parent | e78224a7d9ccf70aadde8c0bff1cab72e8cb7438 (diff) | |
download | kube-5755ad47145d2985ba74354961b4127d82c516f6.tar.gz kube-5755ad47145d2985ba74354961b4127d82c516f6.zip |
A single framework plugin
Diffstat (limited to 'framework/domain')
-rw-r--r-- | framework/domain/CMakeLists.txt | 2 | ||||
-rw-r--r-- | framework/domain/actions/tests/CMakeLists.txt | 2 | ||||
-rw-r--r-- | framework/domain/mailplugin.cpp | 2 |
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}) | |||
34 | qt5_use_modules(mailplugin Core Quick Qml WebKitWidgets Test) | 34 | qt5_use_modules(mailplugin Core Quick Qml WebKitWidgets Test) |
35 | target_link_libraries(mailplugin actionplugin settingsplugin sink mimetreeparser KF5::MimeTreeParser KF5::Codecs KF5::Package KAsync) | 35 | target_link_libraries(mailplugin actionplugin settingsplugin sink mimetreeparser KF5::MimeTreeParser KF5::Codecs KF5::Package KAsync) |
36 | 36 | ||
37 | add_subdirectory(actions/tests) | ||
38 | 37 | ||
39 | install(TARGETS mailplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) | 38 | install(TARGETS mailplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) |
40 | 39 | ||
40 | add_subdirectory(actions/tests) | ||
41 | add_subdirectory(mimetreeparser) | 41 | add_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) | |||
3 | add_executable(sinkactiontest sinkactiontest.cpp) | 3 | add_executable(sinkactiontest sinkactiontest.cpp) |
4 | add_test(sinkactiontest sinkactiontest) | 4 | add_test(sinkactiontest sinkactiontest) |
5 | qt5_use_modules(sinkactiontest Core Test Concurrent) | 5 | qt5_use_modules(sinkactiontest Core Test Concurrent) |
6 | target_link_libraries(sinkactiontest sink actionplugin KF5::Mime mailplugin) | 6 | target_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 | ||
38 | void MailPlugin::registerTypes (const char *uri) | 38 | void 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"); |