Rename a number of libraries and executables to avoid conflicts with KDE4

pull/4/head
Timothy Pearson 12 years ago
parent d058c690c2
commit 441c71c730

@ -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
])

@ -27,10 +27,10 @@
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqradiobutton.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <kdialog.h>
#include <kdirselectdialog.h>
#include <kfile.h>
#include <tdefile.h>
#include <klocale.h>
#include <kpushbutton.h>
#include <klineedit.h>

@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Icon=kerry
Exec=kcmshell beagle
Exec=tdecmshell beagle
X-TDE-Library=beagle
X-TDE-FactoryName=beagle

@ -2,7 +2,7 @@
Encoding=UTF-8
Type=Application
Icon=kerry
Exec=kcmshell kerry
Exec=tdecmshell kerry
X-TDE-Library=beagle
X-TDE-FactoryName=kerry

@ -21,7 +21,7 @@
#include "search.h"
#include <kconfig.h>
#include <tdeconfig.h>
KCMKerrySearch::KCMKerrySearch(TQWidget *parent, const char * )
: TDECModule(parent, "kcmkerrysearch")

@ -21,7 +21,7 @@
#include <tqstringlist.h>
#include <tqdir.h>
#include <tqclipboard.h>
#include <kfiledialog.h>
#include <tdefiledialog.h>
#include <kcmdlineargs.h>
#include <fcntl.h>
#include <klocale.h>
@ -223,7 +223,7 @@ void KerryApplication::clearHistory()
void KerryApplication::configure()
{
TDEProcess proc;
proc << "kcmshell";
proc << "tdecmshell";
proc << "kde-kcmkerry.desktop";
proc.start(TDEProcess::DontCare);
}

@ -25,13 +25,13 @@
#include <kaboutdata.h>
#include <kcmdlineargs.h>
#include <klocale.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <tqfileinfo.h>
#include <tqstringlist.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <kstandarddirs.h>
#include <tdeversion.h>
#include <kconfig.h>
#include <tdeconfig.h>
#include <unistd.h>
static const char *description =

@ -26,12 +26,12 @@
#include <tqlayout.h>
#include <tqtextcodec.h>
#include <kdebug.h>
#include <kfiledialog.h>
#include <tdefiledialog.h>
#include <kpushbutton.h>
#include <kmessagebox.h>
#include <kstandarddirs.h>
#include <kapplication.h>
#include <kfileitem.h>
#include <tdefileitem.h>
#include <kiconloader.h>
#include <klocale.h>
#include <klineedit.h>
@ -42,7 +42,7 @@
#include <tqdir.h>
#include <tqlabel.h>
#include <tqcombobox.h>
#include <kio/job.h>
#include <tdeio/job.h>
#include <kprotocolinfo.h>
#include <ktrader.h>
#include <kprocess.h>
@ -1829,16 +1829,16 @@ bool SearchDlg::ensureServiceRunning(const TQString& name)
TQDataStream arg(data, IO_WriteOnly);
arg << name << URLs;
if ( !kapp->dcopClient()->call( "klauncher", "klauncher", "start_service_by_desktop_name(TQString,TQStringList)",
if ( !kapp->dcopClient()->call( "tdelauncher", "tdelauncher", "start_service_by_desktop_name(TQString,TQStringList)",
data, replyType, replyData) ) {
tqWarning( "call to klauncher failed.");
tqWarning( "call to tdelauncher failed.");
return false;
}
TQDataStream reply(replyData, IO_ReadOnly);
if ( replyType != "serviceResult" )
{
tqWarning( "unexpected result '%s' from klauncher.", replyType.data());
tqWarning( "unexpected result '%s' from tdelauncher.", replyType.data());
return false;
}
int result;

@ -24,8 +24,8 @@
#include "kerryapp.h"
#include "beaglesearch.h"
#include "query.h"
#include <kio/previewjob.h>
#include <kfileitem.h>
#include <tdeio/previewjob.h>
#include <tdefileitem.h>
#include <dcopinterface.h>
#include <kabc/addressbook.h>
#include <kabc/stdaddressbook.h>

Loading…
Cancel
Save