From 29df04c24350cc76a41e2410d1c92445f9338b98 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:51:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kxsldbg/kxsldbgpart/libxsldbg/options.cpp | 4 ++-- kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kxsldbg/kxsldbgpart') diff --git a/kxsldbg/kxsldbgpart/libxsldbg/options.cpp b/kxsldbg/kxsldbgpart/libxsldbg/options.cpp index 492aba6a..525c3728 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/options.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/options.cpp @@ -95,7 +95,7 @@ static TQString langLookupDir( const TQString &fname ) TQStringList search; // assemble the local search paths - TQStringList localDoc = KGlobal::dirs()->resourceDirs("html"); + TQStringList localDoc = TDEGlobal::dirs()->resourceDirs("html"); // also look in each of the TDEDIR paths TQString kdeDirs = getenv("TDEDIRS"); TQStringList kdeDirsList = TQStringList::split(":", kdeDirs); @@ -107,7 +107,7 @@ static TQString langLookupDir( const TQString &fname ) // look up the different languages for (uint id=0; id < localDoc.count(); id++) { - TQStringList langs = KGlobal::locale()->languageList(); + TQStringList langs = TDEGlobal::locale()->languageList(); langs.append( "en" ); langs.remove( "C" ); TQStringList::ConstIterator lang; diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp index 312fdb4e..d333c737 100644 --- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp +++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp @@ -540,8 +540,8 @@ xsldbgMain(int argc, char **argv) if (args){ TQString langChoice = args->getOption("lang"); - if (KGlobal::locale() && !langChoice.isEmpty() && result) - KGlobal::locale()->setLanguage(langChoice); + if (TDEGlobal::locale() && !langChoice.isEmpty() && result) + TDEGlobal::locale()->setLanguage(langChoice); } #ifdef __riscos -- cgit v1.2.1