From 7c94d55f866794b2f1bb33b1f241552496b59b31 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 5 Apr 2017 13:02:48 +0200 Subject: Removed old files --- framework/accounts/CMakeLists.txt | 12 ------ framework/accounts/accountsplugin.cpp | 30 --------------- framework/accounts/accountsplugin.h | 31 --------------- framework/actions/CMakeLists.txt | 17 --------- framework/actions/actionplugin.cpp | 16 -------- framework/actions/actionplugin.h | 13 ------- framework/domain/CMakeLists.txt | 41 -------------------- framework/domain/mailplugin.cpp | 52 -------------------------- framework/domain/mailplugin.h | 33 ---------------- framework/notifications/CMakeLists.txt | 11 ------ framework/notifications/notificationplugin.cpp | 29 -------------- framework/notifications/notificationplugin.h | 31 --------------- framework/settings/CMakeLists.txt | 12 ------ framework/settings/settingsplugin.cpp | 17 --------- framework/settings/settingsplugin.h | 13 ------- 15 files changed, 358 deletions(-) delete mode 100644 framework/accounts/CMakeLists.txt delete mode 100644 framework/accounts/accountsplugin.cpp delete mode 100644 framework/accounts/accountsplugin.h delete mode 100644 framework/actions/CMakeLists.txt delete mode 100644 framework/actions/actionplugin.cpp delete mode 100644 framework/actions/actionplugin.h delete mode 100644 framework/domain/CMakeLists.txt delete mode 100644 framework/domain/mailplugin.cpp delete mode 100644 framework/domain/mailplugin.h delete mode 100644 framework/notifications/CMakeLists.txt delete mode 100644 framework/notifications/notificationplugin.cpp delete mode 100644 framework/notifications/notificationplugin.h delete mode 100644 framework/settings/CMakeLists.txt delete mode 100644 framework/settings/settingsplugin.cpp delete mode 100644 framework/settings/settingsplugin.h (limited to 'framework') 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 @@ -set(accountsplugin_SRCS - accountsplugin.cpp - accountfactory.cpp - accountsmodel.cpp -) - -add_library(accountsplugin SHARED ${accountsplugin_SRCS}) - -qt5_use_modules(accountsplugin Core Quick Qml) -target_link_libraries(accountsplugin sink mailplugin) - -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 @@ -/* - Copyright (C) 2017 Michael Bohlender, - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ - -#include "accountsplugin.h" - -#include "accountsmodel.h" -#include "accountfactory.h" - -#include - -void AccountsPlugin::registerTypes (const char *uri) -{ - qmlRegisterType(uri, 1, 0, "AccountFactory"); - qmlRegisterType(uri, 1, 0, "AccountsModel"); -} 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 @@ -/* - Copyright (C) 2017 Michael Bohlender, - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -*/ - -#pragma once - -#include -#include - -class AccountsPlugin : public QQmlExtensionPlugin -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") - -public: - virtual void registerTypes(const char *uri); -}; 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 @@ -set(SRCS - actionplugin.cpp - action.cpp - actionhandler.cpp - actionbroker.cpp - actionresult.cpp - context.cpp -) - -add_library(actionplugin SHARED ${SRCS}) - -target_link_libraries(actionplugin KAsync sink) -qt5_use_modules(actionplugin Core Quick Qml) - -install(TARGETS actionplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) - -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 @@ -#include "actionplugin.h" - -#include "action.h" -#include "context.h" -#include "actionhandler.h" -#include "actionresult.h" - -#include - -void KubePlugin::registerTypes (const char *uri) -{ - qmlRegisterType(uri, 1, 0, "Context"); - qmlRegisterType(uri, 1, 0, "Action"); - qmlRegisterType(uri, 1, 0, "ActionHandler"); - qmlRegisterType(uri, 1, 0, "ActionResult"); -} 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 @@ -#pragma once - -#include -#include - -class KubePlugin : public QQmlExtensionPlugin -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") - -public: - virtual void registerTypes(const char *uri); -}; 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 @@ -set(mailplugin_SRCS - attachmentmodel.cpp - mailplugin.cpp - maillistmodel.cpp - folderlistmodel.cpp - actions/sinkactions.cpp - objecttreesource.cpp - stringhtmlwriter.cpp - composercontroller.cpp - messageparser.cpp - messageparser_new.cpp - messageparser_old.cpp - mailtemplates.cpp - modeltest.cpp - retriever.cpp - outboxmodel.cpp - identitiesmodel.cpp - recepientautocompletionmodel.cpp - settings/accountsettings.cpp - selector.cpp - completer.cpp - controller.cpp - outboxcontroller.cpp - mailcontroller.cpp - foldercontroller.cpp - mouseproxy.cpp - contactcontroller.cpp - peoplemodel.cpp -) -find_package(KF5 REQUIRED COMPONENTS Package) - -add_library(mailplugin SHARED ${mailplugin_SRCS}) - -qt5_use_modules(mailplugin Core Quick Qml WebKitWidgets Test) -target_link_libraries(mailplugin actionplugin settingsplugin sink mimetreeparser KF5::MimeTreeParser KF5::Codecs KF5::Package KAsync) - - -install(TARGETS mailplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) - -add_subdirectory(actions/tests) -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 @@ -/* - Copyright (c) 2016 Michael Bohlender - Copyright (c) 2016 Christian Mollekopf - - This library is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published by - the Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This library is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public - License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. -*/ - -#include "mailplugin.h" - -#include "maillistmodel.h" -#include "folderlistmodel.h" -#include "composercontroller.h" -#include "messageparser.h" -#include "retriever.h" -#include "outboxmodel.h" -#include "outboxcontroller.h" -#include "mailcontroller.h" -#include "foldercontroller.h" -#include "mouseproxy.h" -#include "contactcontroller.h" -#include "peoplemodel.h" - -#include - -void MailPlugin::registerTypes (const char *uri) -{ - qmlRegisterType(uri, 1, 0, "FolderListModel"); - qmlRegisterType(uri, 1, 0, "MailListModel"); - qmlRegisterType(uri, 1, 0, "ComposerController"); - qmlRegisterType(uri, 1, 0, "MessageParser"); - qmlRegisterType(uri, 1, 0, "Retriever"); - qmlRegisterType(uri, 1, 0, "OutboxController"); - qmlRegisterType(uri, 1, 0, "OutboxModel"); - qmlRegisterType(uri, 1, 0, "MailController"); - qmlRegisterType(uri, 1, 0, "FolderController"); - qmlRegisterType(uri, 1, 0, "MouseProxy"); - qmlRegisterType(uri, 1, 0,"ContactController"); - qmlRegisterType(uri, 1, 0,"PeopleModel"); -} 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 @@ -/* - Copyright (c) 2016 Michael Bohlender - Copyright (c) 2016 Christian Mollekopf - - This library is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published by - the Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This library is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public - License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. -*/ - -#pragma once - -#include -#include - -class MailPlugin : public QQmlExtensionPlugin -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") - -public: - virtual void registerTypes(const char *uri); -}; \ 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 @@ -set(SRCS - notificationplugin.cpp - notificationhandler.cpp -) - -add_library(notificationplugin SHARED ${SRCS}) - -target_link_libraries(notificationplugin sink) -qt5_use_modules(notificationplugin Core Quick Qml) - -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 @@ -/* - Copyright (c) 2016 Christian Mollekopf - - This library is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published by - the Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This library is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public - License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. -*/ -#include "notificationplugin.h" - -#include "notificationhandler.h" - -#include - -void NotificationPlugin::registerTypes (const char *uri) -{ - qmlRegisterType(uri, 1, 0, "NotificationHandler"); - qmlRegisterType(uri, 1, 0, "Notification"); -} 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 @@ -/* - Copyright (c) 2016 Christian Mollekopf - - This library is free software; you can redistribute it and/or modify it - under the terms of the GNU Library General Public License as published by - the Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - This library is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public - License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to the - Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. -*/ -#pragma once - -#include -#include - -class NotificationPlugin : public QQmlExtensionPlugin -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") - -public: - virtual void registerTypes(const char *uri); -}; 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 @@ -set(settingsplugin_SRCS - settingsplugin.cpp - settings.cpp -) - -add_library(settingsplugin SHARED ${settingsplugin_SRCS}) - -qt5_use_modules(settingsplugin Core Quick Qml) - -target_link_libraries(settingsplugin) - -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 @@ -#include "settingsplugin.h" - -// #include "resourcescontroller.h" -// #include "resourcelistmodel.h" -// #include "maildir_resource.h" -#include "settings.h" - -#include - -void SettingsPlugin::registerTypes (const char *uri) -{ - - // qmlRegisterType(); - // qmlRegisterType(uri, 1, 0, "Resources"); - // qmlRegisterType(uri, 1, 0, "Maildir"); - qmlRegisterType(uri, 1, 0, "Settings"); -} 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 @@ -#pragma once - -#include -#include - -class SettingsPlugin : public QQmlExtensionPlugin -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") - -public: - virtual void registerTypes(const char *uri); -}; \ No newline at end of file -- cgit v1.2.3