summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:21:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:21:28 -0600
commit5193962621f44b83c1064e234fb8c8e94fd12749 (patch)
treeccdd27a4045a730c3492609941010fddea117d8c
parentda4097d57f460eed4814a1c37fbb76a76e19d421 (diff)
downloadtdewebdev-5193962621f44b83c1064e234fb8c8e94fd12749.tar.gz
tdewebdev-5193962621f44b83c1064e234fb8c8e94fd12749.zip
Rename KLocale to enhance compatibility with KDE4
-rw-r--r--kommander/editor/main.cpp2
-rw-r--r--kommander/executor/main.cpp6
-rw-r--r--kommander/pluginmanager/main.cpp2
-rw-r--r--kxsldbg/xsldbgmain.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/kommander/editor/main.cpp b/kommander/editor/main.cpp
index 75e4ce67..dad1f004 100644
--- a/kommander/editor/main.cpp
+++ b/kommander/editor/main.cpp
@@ -54,7 +54,7 @@ int main( int argc, char *argv[] )
KommanderWidget::inEditor = true;
- KLocale::setMainCatalogue("kommander");
+ TDELocale::setMainCatalogue("kommander");
TDEApplication a(true, true);
TDEConfig *config = kapp->config();
diff --git a/kommander/executor/main.cpp b/kommander/executor/main.cpp
index b631fd2b..18dd256e 100644
--- a/kommander/executor/main.cpp
+++ b/kommander/executor/main.cpp
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->isSet("c"))
- KLocale::setMainCatalogue(args->getOption("c"));
+ TDELocale::setMainCatalogue(args->getOption("c"));
else if (args->count())
{
char buf[200];
@@ -75,10 +75,10 @@ int main(int argc, char *argv[])
if (ext != -1)
baseFile = baseFile.left(ext);
strcpy(buf, baseFile.latin1());
- KLocale::setMainCatalogue(buf);
+ TDELocale::setMainCatalogue(buf);
}
else
- KLocale::setMainCatalogue("kommander");
+ TDELocale::setMainCatalogue("kommander");
TDEApplication app;
TQObject::connect(&app, TQT_SIGNAL(lastWindowClosed()), &app, TQT_SLOT(quit()));
diff --git a/kommander/pluginmanager/main.cpp b/kommander/pluginmanager/main.cpp
index 3b0cc6ef..600febfa 100644
--- a/kommander/pluginmanager/main.cpp
+++ b/kommander/pluginmanager/main.cpp
@@ -55,7 +55,7 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[])
{
- KLocale::setMainCatalogue("kommander");
+ TDELocale::setMainCatalogue("kommander");
TDEAboutData aboutData( "kmdr-plugins", I18N_NOOP("Kommander Plugin Manager"),
KOMMANDER_VERSION, description, TDEAboutData::License_GPL,
"(C) 2004-2005 Kommander authors");
diff --git a/kxsldbg/xsldbgmain.cpp b/kxsldbg/xsldbgmain.cpp
index 5c1177b0..f1b678a3 100644
--- a/kxsldbg/xsldbgmain.cpp
+++ b/kxsldbg/xsldbgmain.cpp
@@ -119,7 +119,7 @@ class XsldbgApp : public TDEApplication
int main(int argc, char **argv)
{
- KLocale::setMainCatalogue("kxsldbg"); // Translations come from KXSLDbg's catalog
+ TDELocale::setMainCatalogue("kxsldbg"); // Translations come from KXSLDbg's catalog
TQString xsldbgRunTimeInfo(i18n("Using libxml %1, libxslt %2 and libexslt %3\n").arg(xmlParserVersion).arg(xsltEngineVersion).arg(exsltLibraryVersion));
TQString libxmlCompileTimeInfo(i18n("xsldbg was compiled against libxml %1, libxslt %2 and libexslt %3\n").arg(LIBXML_VERSION).arg(LIBXSLT_VERSION).arg(LIBEXSLT_VERSION));