summaryrefslogtreecommitdiffstats
path: root/kommander
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 08:21:28 -0600
committerTimothy Pearson <[email protected]>2013-02-01 08:21:28 -0600
commit5193962621f44b83c1064e234fb8c8e94fd12749 (patch)
treeccdd27a4045a730c3492609941010fddea117d8c /kommander
parentda4097d57f460eed4814a1c37fbb76a76e19d421 (diff)
downloadtdewebdev-5193962621f44b83c1064e234fb8c8e94fd12749.tar.gz
tdewebdev-5193962621f44b83c1064e234fb8c8e94fd12749.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kommander')
-rw-r--r--kommander/editor/main.cpp2
-rw-r--r--kommander/executor/main.cpp6
-rw-r--r--kommander/pluginmanager/main.cpp2
3 files changed, 5 insertions, 5 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");