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 | |
parent | 5755ad47145d2985ba74354961b4127d82c516f6 (diff) | |
download | kube-7c94d55f866794b2f1bb33b1f241552496b59b31.tar.gz kube-7c94d55f866794b2f1bb33b1f241552496b59b31.zip |
Removed old files
-rw-r--r-- | framework/accounts/CMakeLists.txt | 12 | ||||
-rw-r--r-- | framework/accounts/accountsplugin.cpp | 30 | ||||
-rw-r--r-- | framework/accounts/accountsplugin.h | 31 | ||||
-rw-r--r-- | framework/actions/CMakeLists.txt | 17 | ||||
-rw-r--r-- | framework/actions/actionplugin.cpp | 16 | ||||
-rw-r--r-- | framework/actions/actionplugin.h | 13 | ||||
-rw-r--r-- | framework/domain/CMakeLists.txt | 41 | ||||
-rw-r--r-- | framework/domain/mailplugin.cpp | 52 | ||||
-rw-r--r-- | framework/domain/mailplugin.h | 33 | ||||
-rw-r--r-- | framework/notifications/CMakeLists.txt | 11 | ||||
-rw-r--r-- | framework/notifications/notificationplugin.cpp | 29 | ||||
-rw-r--r-- | framework/notifications/notificationplugin.h | 31 | ||||
-rw-r--r-- | framework/settings/CMakeLists.txt | 12 | ||||
-rw-r--r-- | framework/settings/settingsplugin.cpp | 17 | ||||
-rw-r--r-- | framework/settings/settingsplugin.h | 13 |
15 files changed, 0 insertions, 358 deletions
diff --git a/framework/accounts/CMakeLists.txt b/framework/accounts/CMakeLists.txt deleted file mode 100644 index d0e5001c..00000000 --- a/framework/accounts/CMakeLists.txt +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | set(accountsplugin_SRCS | ||
2 | accountsplugin.cpp | ||
3 | accountfactory.cpp | ||
4 | accountsmodel.cpp | ||
5 | ) | ||
6 | |||
7 | add_library(accountsplugin SHARED ${accountsplugin_SRCS}) | ||
8 | |||
9 | qt5_use_modules(accountsplugin Core Quick Qml) | ||
10 | target_link_libraries(accountsplugin sink mailplugin) | ||
11 | |||
12 | install(TARGETS accountsplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) | ||
diff --git a/framework/accounts/accountsplugin.cpp b/framework/accounts/accountsplugin.cpp deleted file mode 100644 index 211898d9..00000000 --- a/framework/accounts/accountsplugin.cpp +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (C) 2017 Michael Bohlender, <michael.bohlender@kdemail.net> | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License along | ||
15 | with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | #include "accountsplugin.h" | ||
20 | |||
21 | #include "accountsmodel.h" | ||
22 | #include "accountfactory.h" | ||
23 | |||
24 | #include <QtQml> | ||
25 | |||
26 | void AccountsPlugin::registerTypes (const char *uri) | ||
27 | { | ||
28 | qmlRegisterType<AccountFactory>(uri, 1, 0, "AccountFactory"); | ||
29 | qmlRegisterType<AccountsModel>(uri, 1, 0, "AccountsModel"); | ||
30 | } | ||
diff --git a/framework/accounts/accountsplugin.h b/framework/accounts/accountsplugin.h deleted file mode 100644 index 4f784f26..00000000 --- a/framework/accounts/accountsplugin.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (C) 2017 Michael Bohlender, <michael.bohlender@kdemail.net> | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License along | ||
15 | with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | #pragma once | ||
20 | |||
21 | #include <QQmlEngine> | ||
22 | #include <QQmlExtensionPlugin> | ||
23 | |||
24 | class AccountsPlugin : public QQmlExtensionPlugin | ||
25 | { | ||
26 | Q_OBJECT | ||
27 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||
28 | |||
29 | public: | ||
30 | virtual void registerTypes(const char *uri); | ||
31 | }; | ||
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 | }; | ||
diff --git a/framework/domain/CMakeLists.txt b/framework/domain/CMakeLists.txt deleted file mode 100644 index e1482301..00000000 --- a/framework/domain/CMakeLists.txt +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | set(mailplugin_SRCS | ||
2 | attachmentmodel.cpp | ||
3 | mailplugin.cpp | ||
4 | maillistmodel.cpp | ||
5 | folderlistmodel.cpp | ||
6 | actions/sinkactions.cpp | ||
7 | objecttreesource.cpp | ||
8 | stringhtmlwriter.cpp | ||
9 | composercontroller.cpp | ||
10 | messageparser.cpp | ||
11 | messageparser_new.cpp | ||
12 | messageparser_old.cpp | ||
13 | mailtemplates.cpp | ||
14 | modeltest.cpp | ||
15 | retriever.cpp | ||
16 | outboxmodel.cpp | ||
17 | identitiesmodel.cpp | ||
18 | recepientautocompletionmodel.cpp | ||
19 | settings/accountsettings.cpp | ||
20 | selector.cpp | ||
21 | completer.cpp | ||
22 | controller.cpp | ||
23 | outboxcontroller.cpp | ||
24 | mailcontroller.cpp | ||
25 | foldercontroller.cpp | ||
26 | mouseproxy.cpp | ||
27 | contactcontroller.cpp | ||
28 | peoplemodel.cpp | ||
29 | ) | ||
30 | find_package(KF5 REQUIRED COMPONENTS Package) | ||
31 | |||
32 | add_library(mailplugin SHARED ${mailplugin_SRCS}) | ||
33 | |||
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) | ||
36 | |||
37 | |||
38 | install(TARGETS mailplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) | ||
39 | |||
40 | add_subdirectory(actions/tests) | ||
41 | add_subdirectory(mimetreeparser) | ||
diff --git a/framework/domain/mailplugin.cpp b/framework/domain/mailplugin.cpp deleted file mode 100644 index b32832e0..00000000 --- a/framework/domain/mailplugin.cpp +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (c) 2016 Michael Bohlender <michael.bohlender@kdemail.net> | ||
3 | Copyright (c) 2016 Christian Mollekopf <mollekopf@kolabsys.com> | ||
4 | |||
5 | This library is free software; you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Library General Public License as published by | ||
7 | the Free Software Foundation; either version 2 of the License, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | This library is distributed in the hope that it will be useful, but WITHOUT | ||
11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||
13 | License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Library General Public License | ||
16 | along with this library; see the file COPYING.LIB. If not, write to the | ||
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
18 | 02110-1301, USA. | ||
19 | */ | ||
20 | |||
21 | #include "mailplugin.h" | ||
22 | |||
23 | #include "maillistmodel.h" | ||
24 | #include "folderlistmodel.h" | ||
25 | #include "composercontroller.h" | ||
26 | #include "messageparser.h" | ||
27 | #include "retriever.h" | ||
28 | #include "outboxmodel.h" | ||
29 | #include "outboxcontroller.h" | ||
30 | #include "mailcontroller.h" | ||
31 | #include "foldercontroller.h" | ||
32 | #include "mouseproxy.h" | ||
33 | #include "contactcontroller.h" | ||
34 | #include "peoplemodel.h" | ||
35 | |||
36 | #include <QtQml> | ||
37 | |||
38 | void MailPlugin::registerTypes (const char *uri) | ||
39 | { | ||
40 | qmlRegisterType<FolderListModel>(uri, 1, 0, "FolderListModel"); | ||
41 | qmlRegisterType<MailListModel>(uri, 1, 0, "MailListModel"); | ||
42 | qmlRegisterType<ComposerController>(uri, 1, 0, "ComposerController"); | ||
43 | qmlRegisterType<MessageParser>(uri, 1, 0, "MessageParser"); | ||
44 | qmlRegisterType<Retriever>(uri, 1, 0, "Retriever"); | ||
45 | qmlRegisterType<OutboxController>(uri, 1, 0, "OutboxController"); | ||
46 | qmlRegisterType<OutboxModel>(uri, 1, 0, "OutboxModel"); | ||
47 | qmlRegisterType<MailController>(uri, 1, 0, "MailController"); | ||
48 | qmlRegisterType<FolderController>(uri, 1, 0, "FolderController"); | ||
49 | qmlRegisterType<MouseProxy>(uri, 1, 0, "MouseProxy"); | ||
50 | qmlRegisterType<ContactController>(uri, 1, 0,"ContactController"); | ||
51 | qmlRegisterType<PeopleModel>(uri, 1, 0,"PeopleModel"); | ||
52 | } | ||
diff --git a/framework/domain/mailplugin.h b/framework/domain/mailplugin.h deleted file mode 100644 index ebd091ee..00000000 --- a/framework/domain/mailplugin.h +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (c) 2016 Michael Bohlender <michael.bohlender@kdemail.net> | ||
3 | Copyright (c) 2016 Christian Mollekopf <mollekopf@kolabsys.com> | ||
4 | |||
5 | This library is free software; you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Library General Public License as published by | ||
7 | the Free Software Foundation; either version 2 of the License, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | This library is distributed in the hope that it will be useful, but WITHOUT | ||
11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||
13 | License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Library General Public License | ||
16 | along with this library; see the file COPYING.LIB. If not, write to the | ||
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
18 | 02110-1301, USA. | ||
19 | */ | ||
20 | |||
21 | #pragma once | ||
22 | |||
23 | #include <QQmlEngine> | ||
24 | #include <QQmlExtensionPlugin> | ||
25 | |||
26 | class MailPlugin : public QQmlExtensionPlugin | ||
27 | { | ||
28 | Q_OBJECT | ||
29 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||
30 | |||
31 | public: | ||
32 | virtual void registerTypes(const char *uri); | ||
33 | }; \ No newline at end of file | ||
diff --git a/framework/notifications/CMakeLists.txt b/framework/notifications/CMakeLists.txt deleted file mode 100644 index 3d3f3c66..00000000 --- a/framework/notifications/CMakeLists.txt +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | set(SRCS | ||
2 | notificationplugin.cpp | ||
3 | notificationhandler.cpp | ||
4 | ) | ||
5 | |||
6 | add_library(notificationplugin SHARED ${SRCS}) | ||
7 | |||
8 | target_link_libraries(notificationplugin sink) | ||
9 | qt5_use_modules(notificationplugin Core Quick Qml) | ||
10 | |||
11 | install(TARGETS notificationplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) | ||
diff --git a/framework/notifications/notificationplugin.cpp b/framework/notifications/notificationplugin.cpp deleted file mode 100644 index 54548464..00000000 --- a/framework/notifications/notificationplugin.cpp +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (c) 2016 Christian Mollekopf <mollekopf@kolabsys.com> | ||
3 | |||
4 | This library is free software; you can redistribute it and/or modify it | ||
5 | under the terms of the GNU Library General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or (at your | ||
7 | option) any later version. | ||
8 | |||
9 | This library is distributed in the hope that it will be useful, but WITHOUT | ||
10 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||
12 | License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU Library General Public License | ||
15 | along with this library; see the file COPYING.LIB. If not, write to the | ||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
17 | 02110-1301, USA. | ||
18 | */ | ||
19 | #include "notificationplugin.h" | ||
20 | |||
21 | #include "notificationhandler.h" | ||
22 | |||
23 | #include <QtQml> | ||
24 | |||
25 | void NotificationPlugin::registerTypes (const char *uri) | ||
26 | { | ||
27 | qmlRegisterType<Kube::NotificationHandler>(uri, 1, 0, "NotificationHandler"); | ||
28 | qmlRegisterType<Kube::Notification>(uri, 1, 0, "Notification"); | ||
29 | } | ||
diff --git a/framework/notifications/notificationplugin.h b/framework/notifications/notificationplugin.h deleted file mode 100644 index 9aa0e033..00000000 --- a/framework/notifications/notificationplugin.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (c) 2016 Christian Mollekopf <mollekopf@kolabsys.com> | ||
3 | |||
4 | This library is free software; you can redistribute it and/or modify it | ||
5 | under the terms of the GNU Library General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or (at your | ||
7 | option) any later version. | ||
8 | |||
9 | This library is distributed in the hope that it will be useful, but WITHOUT | ||
10 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
11 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||
12 | License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU Library General Public License | ||
15 | along with this library; see the file COPYING.LIB. If not, write to the | ||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
17 | 02110-1301, USA. | ||
18 | */ | ||
19 | #pragma once | ||
20 | |||
21 | #include <QQmlEngine> | ||
22 | #include <QQmlExtensionPlugin> | ||
23 | |||
24 | class NotificationPlugin : public QQmlExtensionPlugin | ||
25 | { | ||
26 | Q_OBJECT | ||
27 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||
28 | |||
29 | public: | ||
30 | virtual void registerTypes(const char *uri); | ||
31 | }; | ||
diff --git a/framework/settings/CMakeLists.txt b/framework/settings/CMakeLists.txt deleted file mode 100644 index d5f54a04..00000000 --- a/framework/settings/CMakeLists.txt +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | set(settingsplugin_SRCS | ||
2 | settingsplugin.cpp | ||
3 | settings.cpp | ||
4 | ) | ||
5 | |||
6 | add_library(settingsplugin SHARED ${settingsplugin_SRCS}) | ||
7 | |||
8 | qt5_use_modules(settingsplugin Core Quick Qml) | ||
9 | |||
10 | target_link_libraries(settingsplugin) | ||
11 | |||
12 | install(TARGETS settingsplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) | ||
diff --git a/framework/settings/settingsplugin.cpp b/framework/settings/settingsplugin.cpp deleted file mode 100644 index c081b213..00000000 --- a/framework/settings/settingsplugin.cpp +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | #include "settingsplugin.h" | ||
2 | |||
3 | // #include "resourcescontroller.h" | ||
4 | // #include "resourcelistmodel.h" | ||
5 | // #include "maildir_resource.h" | ||
6 | #include "settings.h" | ||
7 | |||
8 | #include <QtQml> | ||
9 | |||
10 | void SettingsPlugin::registerTypes (const char *uri) | ||
11 | { | ||
12 | |||
13 | // qmlRegisterType<ResourceListModel>(); | ||
14 | // qmlRegisterType<ResourcesController>(uri, 1, 0, "Resources"); | ||
15 | // qmlRegisterType<MaildirResouceController>(uri, 1, 0, "Maildir"); | ||
16 | qmlRegisterType<Kube::Settings>(uri, 1, 0, "Settings"); | ||
17 | } | ||
diff --git a/framework/settings/settingsplugin.h b/framework/settings/settingsplugin.h deleted file mode 100644 index 7bb84e24..00000000 --- a/framework/settings/settingsplugin.h +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <QQmlEngine> | ||
4 | #include <QQmlExtensionPlugin> | ||
5 | |||
6 | class SettingsPlugin : 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 | }; \ No newline at end of file | ||