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/domain/CMakeLists.txt | 41 -------------------------------- framework/domain/mailplugin.cpp | 52 ----------------------------------------- framework/domain/mailplugin.h | 33 -------------------------- 3 files changed, 126 deletions(-) delete mode 100644 framework/domain/CMakeLists.txt delete mode 100644 framework/domain/mailplugin.cpp delete mode 100644 framework/domain/mailplugin.h (limited to 'framework/domain') 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 -- cgit v1.2.3