From 48087e1d5650499b6093a6816356d467c8461802 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:17:46 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kdict/CMakeLists.txt | 2 +- kdict/applet/Makefile.am | 2 +- kdict/queryview.cpp | 8 ++++---- kdict/queryview.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kdict') diff --git a/kdict/CMakeLists.txt b/kdict/CMakeLists.txt index 190f17c8..d699394b 100644 --- a/kdict/CMakeLists.txt +++ b/kdict/CMakeLists.txt @@ -39,5 +39,5 @@ tde_add_tdeinit_executable( kdict AUTOMOC SOURCES dcopinterface.skel main.cpp actions.cpp dict.cpp options.cpp queryview.cpp toplevel.cpp sets.cpp matchview.cpp application.cpp - LINK khtml-shared pthread + LINK tdehtml-shared pthread ) diff --git a/kdict/applet/Makefile.am b/kdict/applet/Makefile.am index b22e5e3f..c89bb493 100644 --- a/kdict/applet/Makefile.am +++ b/kdict/applet/Makefile.am @@ -12,7 +12,7 @@ lnk_DATA = kdictapplet.desktop EXTRA_DIST = $(lnk_DATA) -kdict_panelapplet_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +kdict_panelapplet_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor kdict_panelapplet_la_LIBADD = $(LIB_KSYCOCA) $(LIB_TDEUI) messages: rc.cpp diff --git a/kdict/queryview.cpp b/kdict/queryview.cpp index a17bfeaa..5b2303c8 100644 --- a/kdict/queryview.cpp +++ b/kdict/queryview.cpp @@ -25,8 +25,8 @@ #include #include #include -#include -#include +#include +#include #include "actions.h" #include "options.h" @@ -118,12 +118,12 @@ DictHTMLPart::~DictHTMLPart() {} -void DictHTMLPart::khtmlMouseReleaseEvent(khtml::MouseReleaseEvent *event) +void DictHTMLPart::tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event) { if (event->qmouseEvent()->button()==Qt::MidButton) emit(middleButtonClicked()); else - KHTMLPart::khtmlMouseReleaseEvent(event); + KHTMLPart::tdehtmlMouseReleaseEvent(event); } diff --git a/kdict/queryview.h b/kdict/queryview.h index 766efaf7..ddce43de 100644 --- a/kdict/queryview.h +++ b/kdict/queryview.h @@ -20,7 +20,7 @@ #define _QUERYVIEW_H_ #include -#include +#include class TQFile; class KTempFile; @@ -89,7 +89,7 @@ signals: protected: - virtual void khtmlMouseReleaseEvent(khtml::MouseReleaseEvent *event); + virtual void tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event); }; -- cgit v1.2.1