From e452707fdfbd61be1e5633b516b653b7337e7865 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 29 May 2017 16:17:04 +0200 Subject: Reduced the messagetreeparser to aproximately what we actually require While in a much more managable state it's still not pretty. However, further refactoring can now gradually happen as we need to do further work on it. Things that should happen eventually: * Simplify the logic that creates the messageparts (we don't need the whole formatter plugin complexity) * Get rid of the nodehelper (let the parts hold the necessary data) * Get rid of partmetadata (let the part handleit) --- framework/src/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'framework/src/CMakeLists.txt') diff --git a/framework/src/CMakeLists.txt b/framework/src/CMakeLists.txt index 64cec905..0e6af2ce 100644 --- a/framework/src/CMakeLists.txt +++ b/framework/src/CMakeLists.txt @@ -31,11 +31,9 @@ set(SRCS domain/peoplemodel.cpp domain/mime/htmlutils.cpp domain/mime/messageparser.cpp - domain/mime/messageparser_new.cpp - domain/mime/mailtemplates.cpp domain/mime/attachmentmodel.cpp - domain/mime/objecttreesource.cpp - domain/mime/stringhtmlwriter.cpp + domain/mime/partmodel.cpp + domain/mime/mailtemplates.cpp accounts/accountfactory.cpp accounts/accountsmodel.cpp fabric.cpp @@ -44,7 +42,7 @@ set(SRCS add_library(frameworkplugin SHARED ${SRCS}) qt5_use_modules(frameworkplugin Core Quick Qml WebEngineWidgets Test) -target_link_libraries(frameworkplugin sink mimetreeparser KF5::Codecs KF5::Package KAsync) +target_link_libraries(frameworkplugin sink kube_otp KF5::Codecs KF5::Package KAsync) install(TARGETS frameworkplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) add_subdirectory(domain/mime/mimetreeparser) -- cgit v1.2.3