summaryrefslogtreecommitdiffstats
path: root/kpersonalizer
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 08:14:08 -0600
committerTimothy Pearson <[email protected]>2013-02-01 08:14:08 -0600
commit98f4a055baf6eb7ea5c3d69d6a3f2162b491e253 (patch)
treef56598fd630d341dd40899da38b7fd4b3931770a /kpersonalizer
parent93943a849d1abc2003ceefe294dc419b9927f7d0 (diff)
downloadtdebase-98f4a055baf6eb7ea5c3d69d6a3f2162b491e253.tar.gz
tdebase-98f4a055baf6eb7ea5c3d69d6a3f2162b491e253.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kpersonalizer')
-rw-r--r--kpersonalizer/kcountrypage.cpp2
-rw-r--r--kpersonalizer/kpersonalizer.cpp4
-rw-r--r--kpersonalizer/kpersonalizer.h4
-rw-r--r--kpersonalizer/main.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/kpersonalizer/kcountrypage.cpp b/kpersonalizer/kcountrypage.cpp
index b48e84b22..4f775f9f3 100644
--- a/kpersonalizer/kcountrypage.cpp
+++ b/kpersonalizer/kcountrypage.cpp
@@ -169,7 +169,7 @@ bool KCountryPage::save(KLanguageButton *comboCountry, KLanguageButton *comboLan
TDEProcess proc;
proc << TQString::fromLatin1("tdebuildsycoca");
proc.start(TDEProcess::DontCare);
- kdDebug() << "KLocaleConfig::save : sending signal to kdesktop" << endl;
+ kdDebug() << "TDELocaleConfig::save : sending signal to kdesktop" << endl;
// inform kicker and kdeskop about the new language
kapp->dcopClient()->send( "kicker", "Panel", "restart()", TQString::null);
// call, not send, so that we know it's done before coming back
diff --git a/kpersonalizer/kpersonalizer.cpp b/kpersonalizer/kpersonalizer.cpp
index 47c0ce37c..1a3dcc40e 100644
--- a/kpersonalizer/kpersonalizer.cpp
+++ b/kpersonalizer/kpersonalizer.cpp
@@ -87,8 +87,8 @@ KPersonalizer::KPersonalizer(TQWidget *parent, const char *name)
setFinishEnabled(TQWizard::page(4), true);
- locale = new KLocale("kpersonalizer");
- locale->setLanguage(KLocale::defaultLanguage());
+ locale = new TDELocale("kpersonalizer");
+ locale->setLanguage(TDELocale::defaultLanguage());
connect(ospage, TQT_SIGNAL(selectedOS(const TQString&)), stylepage, TQT_SLOT(presetStyle(const TQString&)));
connect(ospage, TQT_SIGNAL(selectedOS(const TQString&)), eyecandy, TQT_SLOT(slotPresetSlider(const TQString&)));
diff --git a/kpersonalizer/kpersonalizer.h b/kpersonalizer/kpersonalizer.h
index 871b42707..e4db63aad 100644
--- a/kpersonalizer/kpersonalizer.h
+++ b/kpersonalizer/kpersonalizer.h
@@ -28,7 +28,7 @@
/** prototypes */
class KLanguageCombo;
-class KLocale;
+class TDELocale;
class KCountryPage;
class KOSPage;
class KEyeCandyPage;
@@ -79,7 +79,7 @@ private:
KEyeCandyPage* eyecandy;
KStylePage* stylepage;
KRefinePage* refinepage;
- KLocale* locale;
+ TDELocale* locale;
bool os_dirty, eye_dirty, style_dirty;
static bool before_session;
diff --git a/kpersonalizer/main.cpp b/kpersonalizer/main.cpp
index 8923381a8..807c7512a 100644
--- a/kpersonalizer/main.cpp
+++ b/kpersonalizer/main.cpp
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
- KLocale::setMainCatalogue("kpersonalizer");
+ TDELocale::setMainCatalogue("kpersonalizer");
TDEApplication a;
if ( !kapp->dcopClient()->isAttached() )