From 77343a1b8c1a5cb91a57039c4e595de33853a2d9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 00:56:14 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- Changelog | 2 +- acinclude.m4 | 8 ++++---- src/common/global/generic_config.cpp | 2 +- src/common/global/global.h | 2 +- src/common/global/purl.cpp | 6 +++--- src/common/gui/pfile_ext.cpp | 2 +- src/common/gui/purl_ext.cpp | 6 +++--- src/common/gui/purl_gui.cpp | 2 +- src/common/nokde/win32_utils.h | 2 +- src/libgui/global_config.cpp | 2 +- src/libgui/likeback.cpp | 6 +++--- src/libgui/project_wizard.cpp | 2 +- src/libgui/text_editor.cpp | 2 +- src/libgui/toplevel.cpp | 4 ++-- src/progs/pickit2/gui/pickit2_group_ui.cpp | 2 +- 15 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Changelog b/Changelog index 138a444..df15c6c 100644 --- a/Changelog +++ b/Changelog @@ -225,7 +225,7 @@ * fixed select all/find in editor [bug reported by gduprey] 0.11.3 (7 September 2006) - * fixed crashes due to dependence on libkio for piklab-prog + * fixed crashes due to dependence on libtdeio for piklab-prog 0.11.2 (6 September 2006) * fixed compilation by detecting libncurses under Suse diff --git a/acinclude.m4 b/acinclude.m4 index ad0f12a..74491ad 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -602,7 +602,7 @@ AC_DEFUN([KDE_SUBST_PROGRAMS], fi if test -n "$trinity2ornewer"; then - KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)]) + KDE_FIND_PATH(tdeconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(tdeconfig_compiler)]) KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)]) fi if test -n "$trinity3ornewer"; then @@ -1788,7 +1788,7 @@ if test "$kde_qtver" = 1; then kde_check_lib="libtdecore.la" else kde_check_header="ksharedptr.h" - kde_check_lib="libkio.la" + kde_check_lib="libtdeio.la" fi if test -z "$1"; then @@ -2094,7 +2094,7 @@ elif test $kde_qtver = 2; then AC_SUBST(LIB_KIO, "-lkio") AC_SUBST(LIB_KSYCOCA, "-ltdesycoca") AC_SUBST(LIB_SMB, "-lsmb") - AC_SUBST(LIB_KFILE, "-lkfile") + AC_SUBST(LIB_KFILE, "-ltdefile") AC_SUBST(LIB_KAB, "-lkab") AC_SUBST(LIB_KHTML, "-ltdehtml") AC_SUBST(LIB_KSPELL, "-ltdespell") @@ -2104,7 +2104,7 @@ else AC_SUBST(LIB_TDECORE, "-ltdecore -lXext $(LIB_QT)") AC_SUBST(LIB_TDEUI, "-ltdeui $(LIB_TDECORE)") AC_SUBST(LIB_KFM, "-lkfm $(LIB_TDECORE)") - AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_TDEUI)") + AC_SUBST(LIB_KFILE, "-ltdefile $(LIB_KFM) $(LIB_TDEUI)") AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_TDECORE)") fi ]) diff --git a/src/common/global/generic_config.cpp b/src/common/global/generic_config.cpp index 9d951aa..48c705b 100644 --- a/src/common/global/generic_config.cpp +++ b/src/common/global/generic_config.cpp @@ -20,7 +20,7 @@ public: }; #else # include -# include +# include class GenericConfigPrivate { public: diff --git a/src/common/global/global.h b/src/common/global/global.h index 9eb8979..0bc0b58 100644 --- a/src/common/global/global.h +++ b/src/common/global/global.h @@ -35,7 +35,7 @@ # include # include # include -# include +# include #endif #if defined(Q_OS_WIN) diff --git a/src/common/global/purl.cpp b/src/common/global/purl.cpp index 29da212..c47fa7b 100644 --- a/src/common/global/purl.cpp +++ b/src/common/global/purl.cpp @@ -19,9 +19,9 @@ #include "process.h" #if !defined(NO_KDE) -# include -# include -# include +# include +# include +# include #endif //----------------------------------------------------------------------------- diff --git a/src/common/gui/pfile_ext.cpp b/src/common/gui/pfile_ext.cpp index f15baf8..b210643 100644 --- a/src/common/gui/pfile_ext.cpp +++ b/src/common/gui/pfile_ext.cpp @@ -9,7 +9,7 @@ #include "pfile_ext.h" #include -#include +#include #include #include "common/gui/misc_gui.h" diff --git a/src/common/gui/purl_ext.cpp b/src/common/gui/purl_ext.cpp index 8e4a255..82348b5 100644 --- a/src/common/gui/purl_ext.cpp +++ b/src/common/gui/purl_ext.cpp @@ -10,10 +10,10 @@ #include #include -#include -#include +#include +#include #include -#include +#include #include "common/global/pfile.h" diff --git a/src/common/gui/purl_gui.cpp b/src/common/gui/purl_gui.cpp index 7515b99..614ef76 100644 --- a/src/common/gui/purl_gui.cpp +++ b/src/common/gui/purl_gui.cpp @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include "misc_gui.h" diff --git a/src/common/nokde/win32_utils.h b/src/common/nokde/win32_utils.h index 7b50f96..d234ad2 100644 --- a/src/common/nokde/win32_utils.h +++ b/src/common/nokde/win32_utils.h @@ -82,7 +82,7 @@ bool showWin32FilePropertyDialog(const TQString& fileName); /** \return two-letter locale name (like "en" or "pl") taken from MS Windows native registry. Useful when we don't want to rely on KSyCoCa. - Used e.g. by kbuildsycoca application. + Used e.g. by tdebuildsycoca application. */ KDEWIN32_EXPORT TQCString getWin32LocaleName(); diff --git a/src/libgui/global_config.cpp b/src/libgui/global_config.cpp index e8fa5ca..085f799 100644 --- a/src/libgui/global_config.cpp +++ b/src/libgui/global_config.cpp @@ -10,7 +10,7 @@ #include "global_config.h" #include -#include +#include #include #include "progs/list/prog_list.h" diff --git a/src/libgui/likeback.cpp b/src/libgui/likeback.cpp index db22241..0983080 100644 --- a/src/libgui/likeback.cpp +++ b/src/libgui/likeback.cpp @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include @@ -452,10 +452,10 @@ void LikeBack::init(bool isDevelopmentVersion, Button buttons) if (m_process) return; m_process = new TDEProcess(); - *m_process << TQString::fromLatin1("kcmshell") << TQString::fromLatin1("kcm_useraccount"); + *m_process << TQString::fromLatin1("tdecmshell") << TQString::fromLatin1("kcm_useraccount"); connect( m_process, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(endFetchingEmailFrom()) ); if (!m_process->start()) { - kdDebug() << "Couldn't start kcmshell.." << endl; + kdDebug() << "Couldn't start tdecmshell.." << endl; delete m_process; m_process = 0; return; diff --git a/src/libgui/project_wizard.cpp b/src/libgui/project_wizard.cpp index ac622fe..4bd5a51 100644 --- a/src/libgui/project_wizard.cpp +++ b/src/libgui/project_wizard.cpp @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include "common/gui/purl_gui.h" diff --git a/src/libgui/text_editor.cpp b/src/libgui/text_editor.cpp index 077b8d8..45d340c 100644 --- a/src/libgui/text_editor.cpp +++ b/src/libgui/text_editor.cpp @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/libgui/toplevel.cpp b/src/libgui/toplevel.cpp index c9c64da..55eac3f 100644 --- a/src/libgui/toplevel.cpp +++ b/src/libgui/toplevel.cpp @@ -24,10 +24,10 @@ #include #include #include -#include +#include #include #include -#include +#include #include #include #include diff --git a/src/progs/pickit2/gui/pickit2_group_ui.cpp b/src/progs/pickit2/gui/pickit2_group_ui.cpp index 66f9b67..a44c5cb 100644 --- a/src/progs/pickit2/gui/pickit2_group_ui.cpp +++ b/src/progs/pickit2/gui/pickit2_group_ui.cpp @@ -8,7 +8,7 @@ ***************************************************************************/ #include "pickit2_group_ui.h" -#include +#include #include "common/global/purl.h" #include "common/gui/misc_gui.h" -- cgit v1.2.1