Commit 97d0434c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Move plugins in subdirectory

parent dbfe7482
......@@ -76,7 +76,7 @@ set(LIBKLEO_LIB_VERSION "5.13.40")
set(AKONADI_LIB_VERSION "5.13.40")
set(INCIDENCEEDITOR_LIB_VERSION "5.13.40")
set(KTNEF_LIB_VERSION "5.13.40")
set(MESSAGELIB_LIB_VERSION "5.13.52")
set(MESSAGELIB_LIB_VERSION "5.13.55")
set(AKONADICALENDAR_LIB_VERSION "5.13.40")
set(CALENDAR_UTILS_VERSION "5.13.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.13.40")
......
......@@ -10,7 +10,7 @@ set(kaddressbook_importexport_csv_SRCS
kcoreaddons_add_plugin(kaddressbook_importexportcsvplugin JSON kaddressbook_importexportcsvplugin.json SOURCES
${kaddressbook_importexport_csv_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_importexport_csv_SRCS} INSTALL_NAMESPACE kaddressbook/importexportplugin)
target_link_libraries(kaddressbook_importexportcsvplugin KF5::KaddressbookImportExport
KF5::PimCommon
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(kaddressbook_importexport_gmx_SRCS HEADER kaddre
kcoreaddons_add_plugin(kaddressbook_importexportgmxplugin JSON kaddressbook_importexportgmxplugin.json SOURCES
${kaddressbook_importexport_gmx_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_importexport_gmx_SRCS} INSTALL_NAMESPACE kaddressbook/importexportplugin)
target_link_libraries(kaddressbook_importexportgmxplugin KF5::KaddressbookImportExport
KF5::PimCommon
......
......@@ -5,7 +5,7 @@ set(kaddressbook_importexport_ldap_SRCS
kcoreaddons_add_plugin(kaddressbook_importexportldapplugin JSON kaddressbook_importexportldapplugin.json SOURCES
${kaddressbook_importexport_ldap_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_importexport_ldap_SRCS} INSTALL_NAMESPACE kaddressbook/importexportplugin)
target_link_libraries(kaddressbook_importexportldapplugin KF5::KaddressbookImportExport
KF5::PimCommon
......
......@@ -5,7 +5,7 @@ set(kaddressbook_importexport_ldif_SRCS
kcoreaddons_add_plugin(kaddressbook_importexportldifplugin JSON kaddressbook_importexportldifplugin.json SOURCES
${kaddressbook_importexport_ldif_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_importexport_ldif_SRCS} INSTALL_NAMESPACE kaddressbook/importexportplugin)
target_link_libraries(kaddressbook_importexportldifplugin KF5::KaddressbookImportExport
KF5::PimCommon
......
......@@ -7,7 +7,7 @@ set(kaddressbook_importexport_vcard_SRCS
kcoreaddons_add_plugin(kaddressbook_importexportvcardplugin JSON kaddressbook_importexportvcardplugin.json SOURCES
${kaddressbook_importexport_vcard_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_importexport_vcard_SRCS} INSTALL_NAMESPACE kaddressbook/importexportplugin)
target_link_libraries(kaddressbook_importexportvcardplugin
KF5::KaddressbookImportExport
......
......@@ -17,7 +17,7 @@ set(kaddressbook_checkgravatarplugin_SRCS
ecm_qt_declare_logging_category(kaddressbook_checkgravatarplugin_SRCS HEADER kaddressbook_checkgravatarplugin_debug.h IDENTIFIER KADDRESSBOOK_CHECKGRAVATAR_LOG CATEGORY_NAME org.kde.pim.kaddressbook_checkgravatar)
kcoreaddons_add_plugin(kaddressbook_checkgravatarplugin JSON kaddressbook_checkgravatarplugin.json SOURCES
${kaddressbook_checkgravatarplugin_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_checkgravatarplugin_SRCS} INSTALL_NAMESPACE kaddressbook/mainview)
target_link_libraries(kaddressbook_checkgravatarplugin
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui KF5::Gravatar KF5::I18n KF5::Contacts
......
......@@ -5,7 +5,7 @@ set(kaddressbook_mergecontactsplugin_SRCS
kcoreaddons_add_plugin(kaddressbook_mergecontactsplugin JSON kaddressbook_mergecontactsplugin.json SOURCES
${kaddressbook_mergecontactsplugin_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_mergecontactsplugin_SRCS} INSTALL_NAMESPACE kaddressbook/mainview)
target_link_libraries(kaddressbook_mergecontactsplugin
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui kaddressbookmergelibprivate KF5::I18n
......
......@@ -4,7 +4,7 @@ set(kaddressbook_searchduplicatesplugin_SRCS
)
kcoreaddons_add_plugin(kaddressbook_searchduplicatesplugin JSON kaddressbook_searchduplicatesplugin.json SOURCES
${kaddressbook_searchduplicatesplugin_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_searchduplicatesplugin_SRCS} INSTALL_NAMESPACE kaddressbook/mainview)
target_link_libraries(kaddressbook_searchduplicatesplugin
KF5::PimCommon KF5::Completion KF5::PimCommonAkonadi KF5::XmlGui kaddressbookmergelibprivate KF5::I18n
......
......@@ -12,7 +12,7 @@ set(kaddressbook_sendmailplugin_SRCS
ecm_qt_declare_logging_category(kaddressbook_sendmailplugin_SRCS HEADER kaddressbook_sendmailplugin_debug.h IDENTIFIER KADDRESSBOOK_SENDMAIL_LOG CATEGORY_NAME org.kde.pim.kaddressbook_sendmail)
kcoreaddons_add_plugin(kaddressbook_sendmailplugin JSON kaddressbook_sendmailplugin.json SOURCES
${kaddressbook_sendmailplugin_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_sendmailplugin_SRCS} INSTALL_NAMESPACE kaddressbook/mainview)
target_link_libraries(kaddressbook_sendmailplugin
......
......@@ -11,7 +11,7 @@ ecm_qt_declare_logging_category(kaddressbook_sendvcardsplugin_SRCS HEADER kaddre
kcoreaddons_add_plugin(kaddressbook_sendvcardsplugin JSON kaddressbook_sendvcardsplugin.json SOURCES
${kaddressbook_sendvcardsplugin_SRCS} INSTALL_NAMESPACE kaddressbook)
${kaddressbook_sendvcardsplugin_SRCS} INSTALL_NAMESPACE kaddressbook/mainview)
target_link_libraries(kaddressbook_sendvcardsplugin
......
......@@ -7,7 +7,7 @@ set(kmail_markdownplugin_SRCS
ecm_qt_declare_logging_category(kmail_markdownplugin_SRCS HEADER markdownplugin_debug.h IDENTIFIER KMAIL_EDITOR_MARKDOWN_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_markdownplugin)
kcoreaddons_add_plugin(kmail_markdownplugin JSON kmail_markdownplugin.json SOURCES
${kmail_markdownplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_markdownplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditorconverttext)
target_link_libraries(kmail_markdownplugin PRIVATE
KF5::I18n KF5::XmlGui
......
......@@ -6,7 +6,7 @@ set(kmail_externalcomposereditorplugin_SRCS
)
kcoreaddons_add_plugin(kmail_externalcomposereditorplugin JSON kmail_externalcomposereditorplugin.json SOURCES
${kmail_externalcomposereditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_externalcomposereditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditorinit)
target_link_libraries(kmail_externalcomposereditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n KF5::KIOWidgets
......
......@@ -3,7 +3,8 @@ set(kmail_autocorrectioneditorplugin_SRCS
autocorrectionplugineditorinterface.cpp
)
kcoreaddons_add_plugin(kmail_autocorrectioneditorplugin JSON kmail_autocorrectioneditorplugin.json SOURCES ${kmail_autocorrectioneditorplugin_SRCS} INSTALL_NAMESPACE kmail)
kcoreaddons_add_plugin(kmail_autocorrectioneditorplugin JSON kmail_autocorrectioneditorplugin.json
SOURCES ${kmail_autocorrectioneditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_autocorrectioneditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n
......
......@@ -6,7 +6,7 @@ set(kmail_changecaseeditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_changecaseeditorplugin_SRCS HEADER changecaseeditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_CHANGECASE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_changecaseeditorplugin)
kcoreaddons_add_plugin(kmail_changecaseeditorplugin JSON kmail_changecaseeditorplugin.json SOURCES
${kmail_changecaseeditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_changecaseeditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_changecaseeditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n
......
......@@ -6,7 +6,7 @@ set(kmail_insertemaileditorplugin_SRCS
)
kcoreaddons_add_plugin(kmail_insertemaileditorplugin JSON kmail_insertemaileditorplugin.json SOURCES
${kmail_insertemaileditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_insertemaileditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_insertemaileditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n KF5::AkonadiContact
......
......@@ -33,7 +33,7 @@ set(kmail_insertshorturleditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_insertshorturleditorplugin_SRCS HEADER kmail_insertshorturl_debug.h IDENTIFIER KMAIL_INSERTSHORTURL_LOG CATEGORY_NAME org.kde.pim.kmail_insertshorturl)
kcoreaddons_add_plugin(kmail_insertshorturleditorplugin JSON kmail_insertshorturleditorplugin.json SOURCES
${kmail_insertshorturleditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_insertshorturleditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_insertshorturleditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n shorturlpluginprivate KF5::CoreAddons
......
......@@ -5,7 +5,7 @@ set(pimcommon_isgdshorturlengineplugin_SRCS
ecm_qt_declare_logging_category(pimcommon_isgdshorturlengineplugin_SRCS HEADER isgdshorturlengineplugin_debug.h IDENTIFIER ISGDSHORTURLENGINEPLUGIN_LOG CATEGORY_NAME org.kde.pim.isgdshorturlengineplugin)
kcoreaddons_add_plugin(pimcommon_isgdshorturlengineplugin JSON pimcommon_isgdshorturlengineplugin.json SOURCES
${pimcommon_isgdshorturlengineplugin_SRCS} INSTALL_NAMESPACE pimcommon)
${pimcommon_isgdshorturlengineplugin_SRCS} INSTALL_NAMESPACE pimcommon/shorturlengine)
target_link_libraries(pimcommon_isgdshorturlengineplugin
KF5::Service KF5::I18n Qt5::Network KF5::CoreAddons shorturlpluginprivate Qt5::Gui
......
......@@ -58,9 +58,7 @@ public:
void ShortUrlEnginePluginManagerPrivate::initializePlugins()
{
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("pimcommon"), [](const KPluginMetaData &md) {
return md.serviceTypes().contains(QLatin1String("PimCommonShortUrlEngine/Plugin"));
});
const QVector<KPluginMetaData> plugins = KPluginLoader::findPlugins(QStringLiteral("pimcommon/shorturlengine"));
QVectorIterator<KPluginMetaData> i(plugins);
i.toBack();
......
......@@ -4,7 +4,7 @@ set(pimcommon_tinyplugin_SRCS
)
kcoreaddons_add_plugin(pimcommon_tinyurlengineplugin JSON pimcommon_tinyurlengineplugin.json SOURCES
${pimcommon_tinyplugin_SRCS} INSTALL_NAMESPACE pimcommon)
${pimcommon_tinyplugin_SRCS} INSTALL_NAMESPACE pimcommon/shorturlengine)
target_link_libraries(pimcommon_tinyurlengineplugin
......
......@@ -4,7 +4,7 @@ set(pimcommon_triopabshorturlengineplugin_SRCS
)
kcoreaddons_add_plugin(pimcommon_triopabshorturlengineplugin JSON pimcommon_triopabshorturlengineplugin.json SOURCES
${pimcommon_triopabshorturlengineplugin_SRCS} INSTALL_NAMESPACE pimcommon)
${pimcommon_triopabshorturlengineplugin_SRCS} INSTALL_NAMESPACE pimcommon/shorturlengine)
target_link_libraries(pimcommon_triopabshorturlengineplugin
KF5::Service KF5::I18n Qt5::Network KF5::CoreAddons shorturlpluginprivate Qt5::Gui
......
......@@ -4,7 +4,7 @@ set(kmail_insertspecialcharactereditorplugin_SRCS
)
kcoreaddons_add_plugin(kmail_insertspecialcharactereditorplugin JSON kmail_insertspecialcharactereditorplugin.json SOURCES
${kmail_insertspecialcharactereditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_insertspecialcharactereditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_insertspecialcharactereditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n
......
......@@ -4,7 +4,7 @@ set(kmail_nonbreakingspaceeditorplugin_SRCS
)
kcoreaddons_add_plugin(kmail_nonbreakingspaceeditorplugin JSON kmail_nonbreakingspaceeditorplugin.json SOURCES
${kmail_nonbreakingspaceeditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_nonbreakingspaceeditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_nonbreakingspaceeditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n
......
......@@ -33,7 +33,7 @@ set(kmail_quicktextplugin_SRCS
ecm_qt_declare_logging_category(kmail_quicktextplugin_SRCS HEADER quicktextplugin_debug.h IDENTIFIER KMAIL_EDITOR_QUICKTEXT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_quicktextplugin)
kcoreaddons_add_plugin(kmail_quicktextplugin JSON kmail_quicktextplugin.json SOURCES
${kmail_quicktextplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_quicktextplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_quicktextplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n kmailquicktextpluginprivate KF5::MailCommon
......
......@@ -7,7 +7,7 @@ set(kmail_sharetexteditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_sharetexteditorplugin_SRCS HEADER sharetexteditorplugin_debug.h IDENTIFIER KMAIL_EDITOR_SHARETEXT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_sharetexteditorplugin)
kcoreaddons_add_plugin(kmail_sharetexteditorplugin JSON kmail_sharetexteditorplugin.json SOURCES
${kmail_sharetexteditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_sharetexteditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_sharetexteditorplugin
KF5::MessageComposer KF5::XmlGui KF5::I18n
......
......@@ -8,7 +8,7 @@ ecm_qt_declare_logging_category(kmail_zoomtexteditorplugin_SRCS HEADER zoomtexte
kcoreaddons_add_plugin(kmail_zoomtexteditorplugin JSON kmail_zoomtexteditorplugin.json SOURCES
${kmail_zoomtexteditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_zoomtexteditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditor)
target_link_libraries(kmail_zoomtexteditorplugin
......
......@@ -11,7 +11,7 @@ set(kmail_automaticaddcontactseditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_automaticaddcontactseditorplugin_SRCS HEADER automaticaddcontactsplugin_debug.h IDENTIFIER KMAIL_EDITOR_AUTOMATICADDCONTACTS_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_automaticaddcontactsplugin)
kcoreaddons_add_plugin(kmail_automaticaddcontactseditorplugin JSON kmail_automaticaddcontactsplugin.json SOURCES
${kmail_automaticaddcontactseditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_automaticaddcontactseditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugincheckbeforesend)
target_link_libraries(kmail_automaticaddcontactseditorplugin
KF5::MessageComposer KF5::I18n KF5::PimCommon KF5::AkonadiContact KF5::AkonadiCore
......
......@@ -17,7 +17,7 @@ set(kmail_checkbeforesendeditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_checkbeforesendeditorplugin_SRCS HEADER checkbeforesendplugin_debug.h IDENTIFIER KMAIL_EDITOR_checkbeforesend_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_checkbeforesendplugin)
kcoreaddons_add_plugin(kmail_checkbeforesendeditorplugin JSON kmail_checkbeforesendplugin.json SOURCES
${kmail_checkbeforesendeditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_checkbeforesendeditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugincheckbeforesend)
target_link_libraries(kmail_checkbeforesendeditorplugin
KF5::MessageComposer KF5::I18n
......
......@@ -15,7 +15,7 @@ set(kmail_confirmaddresseditorplugin_SRCS
ecm_qt_declare_logging_category(kmail_confirmaddresseditorplugin_SRCS HEADER confirmaddressplugin_debug.h IDENTIFIER KMAIL_EDITOR_CONFIRMADDRESS_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_confirmaddressplugin)
kcoreaddons_add_plugin(kmail_confirmaddresseditorplugin JSON kmail_confirmaddressplugin.json SOURCES
${kmail_confirmaddresseditorplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_confirmaddresseditorplugin_SRCS} INSTALL_NAMESPACE kmail/plugincheckbeforesend)
target_link_libraries(kmail_confirmaddresseditorplugin
KF5::MessageComposer KF5::I18n KF5::PimCommon KF5::Libkdepim
......
......@@ -10,7 +10,7 @@ set(grammalecteplugin_SRCS
ecm_qt_declare_logging_category(grammalecteplugin_SRCS HEADER grammalecteplugin_debug.h IDENTIFIER KMAIL_EDITOR_GRAMMALECTE_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_grammalecteplugin)
kcoreaddons_add_plugin(kmail_grammalecteplugin JSON kmail_grammalecteplugin.json SOURCES
${grammalecteplugin_SRCS} INSTALL_NAMESPACE kmail)
${grammalecteplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditorgrammar)
target_link_libraries(kmail_grammalecteplugin
KF5::MessageComposer KF5::I18n KF5::PimCommon KF5::XmlGui kmailgrammalecte grammarcommon
......
......@@ -10,7 +10,7 @@ set(languagetoolplugin_SRCS
ecm_qt_declare_logging_category(languagetoolplugin_SRCS HEADER languagetoolplugin_debug.h IDENTIFIER KMAIL_EDITOR_LANGUAGETOOL_PLUGIN_LOG CATEGORY_NAME org.kde.pim.kmail_languagetoolplugin)
kcoreaddons_add_plugin(kmail_languagetoolplugin JSON kmail_languagetoolplugin.json SOURCES
${languagetoolplugin_SRCS} INSTALL_NAMESPACE kmail)
${languagetoolplugin_SRCS} INSTALL_NAMESPACE kmail/plugineditorgrammar)
target_link_libraries(kmail_languagetoolplugin
KF5::MessageComposer KF5::I18n KF5::PimCommon KF5::XmlGui kmaillanguagetool grammarcommon
......
......@@ -6,7 +6,7 @@ set(kmail_antispamplugin_SRCS
)
kcoreaddons_add_plugin(kmail_antispamplugin JSON kmail_antispamplugin.json SOURCES
${kmail_antispamplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_antispamplugin_SRCS} INSTALL_NAMESPACE kmail/mainview)
target_link_libraries(kmail_antispamplugin
KF5::PimCommonAkonadi KF5::Completion KF5::MailCommon KF5::XmlGui KF5::Libkdepim KF5::I18n
)
......
......@@ -6,7 +6,7 @@ set(kmail_antivirusplugin_SRCS
)
kcoreaddons_add_plugin(kmail_antivirusplugin JSON kmail_antivirusplugin.json SOURCES
${kmail_antivirusplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_antivirusplugin_SRCS} INSTALL_NAMESPACE kmail/mainview)
target_link_libraries(kmail_antivirusplugin
KF5::PimCommonAkonadi KF5::Completion KF5::MailCommon KF5::AkonadiWidgets KF5::XmlGui KF5::Libkdepim KF5::I18n
......
......@@ -9,7 +9,7 @@ ecm_qt_declare_logging_category(kmail_expertplugin_SRCS
CATEGORY_NAME org.kde.pim.kmail_expertplugin)
kcoreaddons_add_plugin(kmail_expertplugin JSON kmail_expertplugin.json SOURCES
${kmail_expertplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_expertplugin_SRCS} INSTALL_NAMESPACE kmail/mainview)
target_link_libraries(kmail_expertplugin
KF5::PimCommon KF5::PimCommonAkonadi KF5::XmlGui KF5::Libkdepim KF5::I18n
......
......@@ -4,7 +4,7 @@ set(kmail_logactivitiesplugin_SRCS
)
kcoreaddons_add_plugin(kmail_logactivitiesplugin JSON kmail_logactivitiesplugin.json SOURCES
${kmail_logactivitiesplugin_SRCS} INSTALL_NAMESPACE kmail)
${kmail_logactivitiesplugin_SRCS} INSTALL_NAMESPACE kmail/mainview)
target_link_libraries(kmail_logactivitiesplugin
KF5::PimCommon KF5::PimCommonAkonadi KF5::XmlGui KF5::Libkdepim KF5::I18n
......
......@@ -4,7 +4,7 @@ set(pimcommon_translatorplugin_SRCS
)
kcoreaddons_add_plugin(pimcommon_translatorplugin JSON pimcommon_translatorplugin.json SOURCES
${pimcommon_translatorplugin_SRCS} INSTALL_NAMESPACE pimcommon)
${pimcommon_translatorplugin_SRCS} INSTALL_NAMESPACE pimcommon/customtools)
target_link_libraries(pimcommon_translatorplugin
KF5::PimCommon
......
......@@ -3,7 +3,7 @@ set(messageviewer_dkimconfigplugin_SRCS
)
kcoreaddons_add_plugin(messageviewer_dkimconfigplugin JSON messageviewer_dkimconfigplugin.json SOURCES
${messageviewer_dkimconfigplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_dkimconfigplugin_SRCS} INSTALL_NAMESPACE messageviewer/configuresettings)
target_link_libraries(messageviewer_dkimconfigplugin
KF5::MessageViewer
......
......@@ -5,7 +5,7 @@ set(messageviewer_gravatarconfigplugin_SRCS
)
kcoreaddons_add_plugin(messageviewer_gravatarconfigplugin JSON messageviewer_gravatarconfigplugin.json SOURCES
${messageviewer_gravatarconfigplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_gravatarconfigplugin_SRCS} INSTALL_NAMESPACE messageviewer/configuresettings)
target_link_libraries(messageviewer_gravatarconfigplugin
KF5::MessageViewer
......
......@@ -6,7 +6,7 @@ set(messageviewer_briefheaderstyleplugin_SRCS
)
kcoreaddons_add_plugin(messageviewer_briefheaderstyleplugin JSON messageviewer_briefheaderstyleplugin.json SOURCES
${messageviewer_briefheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_briefheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer/headerstyle)
target_link_libraries(messageviewer_briefheaderstyleplugin
KF5::MessageViewer
......
......@@ -5,7 +5,7 @@ set(messageviewer_fancyheaderstyleplugin_SRCS
)
kcoreaddons_add_plugin(messageviewer_fancyheaderstyleplugin JSON messageviewer_fancyheaderstyleplugin.json SOURCES
${messageviewer_fancyheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_fancyheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer/headerstyle)
target_link_libraries(messageviewer_fancyheaderstyleplugin
KF5::MessageViewer
......
......@@ -4,7 +4,7 @@ set(messageviewer_grantleeheaderstyleplugin_SRCS
grantleeheaderstrategy.cpp
)
kcoreaddons_add_plugin(messageviewer_grantleeheaderstyleplugin JSON messageviewer_grantleeheaderstyleplugin.json SOURCES
${messageviewer_grantleeheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_grantleeheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer/headerstyle)
target_link_libraries(messageviewer_grantleeheaderstyleplugin
KF5::MessageViewer
......
......@@ -4,7 +4,7 @@ set(messageviewer_longheaderstyleplugin_SRCS
)
kcoreaddons_add_plugin(messageviewer_longheaderstyleplugin JSON messageviewer_longheaderstyleplugin.json SOURCES
${messageviewer_longheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_longheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer/headerstyle)
target_link_libraries(messageviewer_longheaderstyleplugin
KF5::MessageViewer
......
......@@ -5,7 +5,7 @@ set(messageviewer_standardsheaderstyleplugin_SRCS
)
kcoreaddons_add_plugin(messageviewer_standardsheaderstyleplugin JSON messageviewer_standardsheaderstyleplugin.json SOURCES
${messageviewer_standardsheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_standardsheaderstyleplugin_SRCS} INSTALL_NAMESPACE messageviewer/headerstyle)
target_link_libraries(messageviewer_standardsheaderstyleplugin
KF5::MessageViewer
......
......@@ -34,7 +34,7 @@ void ViewerPluginManagerTest::shouldHaveDefaultValue()
{
MessageViewer::ViewerPluginManager *manager = new MessageViewer::ViewerPluginManager(this);
manager->setPluginName(QStringLiteral("messageviewer"));
manager->setServiceTypeName(QStringLiteral("MessageViewer/ViewerPlugin"));
manager->setPluginDirectory(QStringLiteral("messageviewer/viewerplugin"));
QVERIFY(manager->initializePluginList());
QVERIFY(!manager->pluginsList().isEmpty());
}
......
......@@ -6,7 +6,7 @@ set(messageviewer_expandurlplugin_SRCS
ecm_qt_declare_logging_category(messageviewer_expandurlplugin_SRCS HEADER expandurlplugin_debug.h IDENTIFIER EXPANDURLPLUGIN_LOG CATEGORY_NAME org.kde.pim.expandurlplugin)
kcoreaddons_add_plugin(messageviewer_expandurlplugin JSON messageviewer_expandurlplugin.json SOURCES
${messageviewer_expandurlplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_expandurlplugin_SRCS} INSTALL_NAMESPACE messageviewer/viewercommonplugin)
target_link_libraries(messageviewer_expandurlplugin
KF5::MessageViewer KF5::XmlGui KF5::Libkdepim KF5::I18n
......
......@@ -4,7 +4,7 @@ set(messageviewer_translatorplugin_SRCS
)
kcoreaddons_add_plugin(messageviewer_translatorplugin JSON messageviewer_translatorplugin.json SOURCES
${messageviewer_translatorplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_translatorplugin_SRCS} INSTALL_NAMESPACE messageviewer/viewercommonplugin)
target_link_libraries(messageviewer_translatorplugin
KF5::MessageViewer KF5::XmlGui KF5::PimTextEdit KF5::I18n
......
......@@ -9,7 +9,7 @@ set(messageviewer_createeventplugin_SRCS
ecm_qt_declare_logging_category(messageviewer_createeventplugin_SRCS HEADER createeventplugin_debug.h IDENTIFIER CREATEEVENTPLUGIN_LOG CATEGORY_NAME org.kde.pim.createeventplugin)
kcoreaddons_add_plugin(messageviewer_createeventplugin JSON messageviewer_createeventplugin.json SOURCES
${messageviewer_createeventplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_createeventplugin_SRCS} INSTALL_NAMESPACE messageviewer/viewerplugin)
target_link_libraries(messageviewer_createeventplugin
......
......@@ -7,7 +7,7 @@ set(messageviewer_createnoteplugin_SRCS
ecm_qt_declare_logging_category(messageviewer_createnoteplugin_SRCS HEADER createnoteplugin_debug.h IDENTIFIER CREATENOTEPLUGIN_LOG CATEGORY_NAME org.kde.pim.createnoteplugin)
kcoreaddons_add_plugin(messageviewer_createnoteplugin JSON messageviewer_createnoteplugin.json SOURCES
${messageviewer_createnoteplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_createnoteplugin_SRCS} INSTALL_NAMESPACE messageviewer/viewerplugin)
target_link_libraries(messageviewer_createnoteplugin
......
......@@ -7,7 +7,7 @@ set(messageviewer_createtodoplugin_SRCS
ecm_qt_declare_logging_category(messageviewer_createtodoplugin_SRCS HEADER createtodoplugin_debug.h IDENTIFIER CREATETODOPLUGIN_LOG CATEGORY_NAME org.kde.pim.createtodoplugin)
kcoreaddons_add_plugin(messageviewer_createtodoplugin JSON messageviewer_createtodoplugin.json SOURCES
${messageviewer_createtodoplugin_SRCS} INSTALL_NAMESPACE messageviewer)
${messageviewer_createtodoplugin_SRCS} INSTALL_NAMESPACE messageviewer/viewerplugin)
target_link_libraries(messageviewer_createtodoplugin
......
......@@ -13,7 +13,8 @@ set(messageviewer_externalscriptplugin_SRCS
ecm_qt_declare_logging_category(messageviewer_externalscriptplugin_SRCS HEADER externalscriptplugin_debug.h IDENTIFIER EXTERNALSCRIPTPLUGIN_LOG CATEGORY_NAME org.kde.pim.externalscriptplugin)
kcoreaddons_add_plugin(messageviewer_externalscriptplugin JSON messageviewer_externalscriptplugin.json SOURCES ${messageviewer_externalscriptplugin_SRCS} INSTALL_NAMESPACE messageviewer)
kcoreaddons_add_plugin(messageviewer_externalscriptplugin JSON messageviewer_externalscriptplugin.json
SOURCES ${messageviewer_externalscriptplugin_SRCS} INSTALL_NAMESPACE messageviewer/viewerplugin)
target_link_libraries(messageviewer_externalscriptplugin
KF5::MessageViewer KF5::XmlGui KF5::I18n KF5::PimCommon KF5::KIOWidgets
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(webengineviewer_webengineurlinterceptor_adblock_
kcoreaddons_add_plugin(webengineviewer_adblockplugin JSON messageviewer_adblockurlinterceptor.json SOURCES
${webengineviewer_webengineurlinterceptor_adblock_SRCS} INSTALL_NAMESPACE webengineviewer)
${webengineviewer_webengineurlinterceptor_adblock_SRCS} INSTALL_NAMESPACE webengineviewer/urlinterceptor)
target_link_libraries(webengineviewer_adblockplugin
KF5::MessageViewer
......
......@@ -11,7 +11,7 @@ kconfig_add_kcfg_files(webengineviewer_webengineurlinterceptor_donottrack_SRCS
kcoreaddons_add_plugin(webengineviewer_donottrackplugin JSON messageviewer_donottrackurlinterceptor.json SOURCES
${webengineviewer_webengineurlinterceptor_donottrack_SRCS} INSTALL_NAMESPACE webengineviewer)
${webengineviewer_webengineurlinterceptor_donottrack_SRCS} INSTALL_NAMESPACE webengineviewer/urlinterceptor)
target_link_libraries(webengineviewer_donottrackplugin
Qt5::WebEngine
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment