Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Drop unneeded linking to KDELibs4Support

parent 10829739
......@@ -11,7 +11,7 @@ add_library(autorefresh MODULE ${autorefresh_PART_SRCS})
target_link_libraries(autorefresh KF5::Parts KF5::KDELibs4Support )
target_link_libraries(autorefresh KF5::Parts KF5::IconThemes )
install(TARGETS autorefresh DESTINATION ${KDE_INSTALL_PLUGINDIR} )
......
......@@ -22,7 +22,6 @@
#include "autorefresh.h"
#include <kparts/part.h>
#include <kcomponentdata.h>
#include <kiconloader.h>
#include <kmessagebox.h>
#include <KLocalizedString>
......
......@@ -4,7 +4,7 @@ set(dirfilterplugin_PART_SRCS dirfilterplugin.cpp )
add_library(dirfilterplugin MODULE ${dirfilterplugin_PART_SRCS})
target_link_libraries(dirfilterplugin KF5::Parts KF5::KDELibs4Support)
target_link_libraries(dirfilterplugin KF5::Parts)
install(TARGETS dirfilterplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} )
......
......@@ -25,26 +25,23 @@
#include <QHBoxLayout>
#include <QBoxLayout>
#include <QShowEvent>
#include <QGlobalStatic>
#include <QMenu>
#include <KLocalizedString>
#include <kfileitem.h>
#include <kmimetype.h>
#include <klineedit.h>
#include <kactionmenu.h>
#include <kconfiggroup.h>
#include <kcomponentdata.h>
#include <kpluginfactory.h>
#include <kactioncollection.h>
#include <KConfigGroup>
#include <KConfig>
#include <kparts/browserextension.h>
//KDELibs4Support
#include <kglobal.h>
K_GLOBAL_STATIC(SessionManager, globalSessionManager)
Q_GLOBAL_STATIC(SessionManager, globalSessionManager)
static void generateKey(const QUrl &url, QString *key)
{
......
......@@ -27,7 +27,8 @@
#include <QUrl>
#include <kparts/plugin.h>
#include <kparts/listingextension.h>
#include <KParts/ListingFilterExtension>
#include <KParts/ListingNotificationExtension>
class QPushButton;
class KFileItemList;
......
......@@ -13,7 +13,7 @@ add_library(khtmlsettingsplugin MODULE ${khtmlsettingsplugin_PART_SRCS})
target_link_libraries(khtmlsettingsplugin KF5::Parts KF5::KHtml KF5::KDELibs4Support)
target_link_libraries(khtmlsettingsplugin KF5::Parts KF5::KHtml)
install(TARGETS khtmlsettingsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} )
......
......@@ -21,9 +21,7 @@
#include <kconfig.h>
#include <kglobal.h>
#include <khtml_part.h>
#include <kcomponentdata.h>
#include <KLocalizedString>
#include <kmessagebox.h>
#include <QMenu>
......
......@@ -21,7 +21,6 @@
#define SETTINGS_PLUGIN
#include <kparts/plugin.h>
#include <klibloader.h>
class KConfig;
......
......@@ -11,7 +11,7 @@ add_library(rellinksplugin MODULE ${rellinksplugin_PART_SRCS})
target_link_libraries(rellinksplugin KF5::KHtml KF5::KDELibs4Support)
target_link_libraries(rellinksplugin KF5::KHtml KF5::IconThemes)
install(TARGETS rellinksplugin DESTINATION ${KDE_INSTALL_PLUGINDIR} )
......
......@@ -35,12 +35,10 @@
#include <dom/dom_string.h>
#include <dom/html_document.h>
#include <kdebug.h>
#include <kpluginfactory.h>
#include <khtml_part.h>
#include <khtmlview.h>
#include <kiconloader.h>
#include <kcomponentdata.h>
#include <KLocalizedString>
#include <QMenu>
#include <ktoolbar.h>
......
......@@ -21,7 +21,7 @@ set(webarchivethumbnail_PART_SRCS webarchivecreator.cpp )
add_library(webarchivethumbnail MODULE ${webarchivethumbnail_PART_SRCS})
target_link_libraries(webarchivethumbnail KF5::KHtml KF5::KDELibs4Support KF5::KIOCore)
target_link_libraries(webarchivethumbnail KF5::KHtml KF5::KIOCore)
install(TARGETS webarchivethumbnail DESTINATION ${KDE_INSTALL_PLUGINDIR} )
......
......@@ -75,9 +75,6 @@
#include "webarchiverdebug.h"
//KDELibs4Support
#include <kglobal.h>
// Set to true if you have a patched http-io-slave that has
// improved offline-browsing functionality.
static const bool patchedHttpSlave = false;
......
......@@ -23,7 +23,6 @@
#define plugin_webarchiver_h
#include <kparts/plugin.h>
#include <klibloader.h>
class PluginWebArchiver : public KParts::Plugin
{
......
add_executable(webenginepart_tester webenginepart_tester.cpp)
target_link_libraries(webenginepart_tester kwebenginepartlib Qt5::Core Qt5::Gui Qt5::Widgets Qt5::WebEngineWidgets KF5::I18n KF5::KDELibs4Support)
target_link_libraries(webenginepart_tester kwebenginepartlib Qt5::Core Qt5::Gui Qt5::Widgets Qt5::WebEngineWidgets KF5::I18n)
......@@ -29,13 +29,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <KApplication>
#include <KAboutData>
#include <KCmdLineArgs>
#include <QDebug>
#include <KIO/AccessManager>
#include <KUriFilter>
#include <KInputDialog>
#include <KLineEdit>
#include <webenginepart.h>
......
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