summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/options.cpp4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp4
2 files changed, 4 insertions, 4 deletions
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