diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:14:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 08:14:08 -0600 |
commit | 98f4a055baf6eb7ea5c3d69d6a3f2162b491e253 (patch) | |
tree | f56598fd630d341dd40899da38b7fd4b3931770a /kcontrol/locale/localenum.cpp | |
parent | 93943a849d1abc2003ceefe294dc419b9927f7d0 (diff) | |
download | tdebase-98f4a055baf6eb7ea5c3d69d6a3f2162b491e253.tar.gz tdebase-98f4a055baf6eb7ea5c3d69d6a3f2162b491e253.zip |
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kcontrol/locale/localenum.cpp')
-rw-r--r-- | kcontrol/locale/localenum.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kcontrol/locale/localenum.cpp b/kcontrol/locale/localenum.cpp index 4d291f969..ca523d2e9 100644 --- a/kcontrol/locale/localenum.cpp +++ b/kcontrol/locale/localenum.cpp @@ -35,7 +35,7 @@ #include "localenum.h" #include "localenum.moc" -KLocaleConfigNumber::KLocaleConfigNumber(KLocale *locale, +TDELocaleConfigNumber::TDELocaleConfigNumber(TDELocale *locale, TQWidget *parent, const char*name) : TQWidget(parent, name), m_locale(locale) @@ -75,14 +75,14 @@ KLocaleConfigNumber::KLocaleConfigNumber(KLocale *locale, TQT_SLOT(slotLocaleChanged())); } -KLocaleConfigNumber::~KLocaleConfigNumber() +TDELocaleConfigNumber::~TDELocaleConfigNumber() { } -void KLocaleConfigNumber::save() +void TDELocaleConfigNumber::save() { // temperary use of our locale as the global locale - KLocale *lsave = TDEGlobal::_locale; + TDELocale *lsave = TDEGlobal::_locale; TDEGlobal::_locale = m_locale; TDEConfig *config = TDEGlobal::config(); @@ -125,7 +125,7 @@ void KLocaleConfigNumber::save() TDEGlobal::_locale = lsave; } -void KLocaleConfigNumber::slotLocaleChanged() +void TDELocaleConfigNumber::slotLocaleChanged() { // #### load all settings here m_edDecSym->setText( m_locale->decimalSymbol() ); @@ -134,31 +134,31 @@ void KLocaleConfigNumber::slotLocaleChanged() m_edMonNegSign->setText( m_locale->negativeSign() ); } -void KLocaleConfigNumber::slotDecSymChanged(const TQString &t) +void TDELocaleConfigNumber::slotDecSymChanged(const TQString &t) { m_locale->setDecimalSymbol(t); emit localeChanged(); } -void KLocaleConfigNumber::slotThoSepChanged(const TQString &t) +void TDELocaleConfigNumber::slotThoSepChanged(const TQString &t) { m_locale->setThousandsSeparator(t); emit localeChanged(); } -void KLocaleConfigNumber::slotMonPosSignChanged(const TQString &t) +void TDELocaleConfigNumber::slotMonPosSignChanged(const TQString &t) { m_locale->setPositiveSign(t); emit localeChanged(); } -void KLocaleConfigNumber::slotMonNegSignChanged(const TQString &t) +void TDELocaleConfigNumber::slotMonNegSignChanged(const TQString &t) { m_locale->setNegativeSign(t); emit localeChanged(); } -void KLocaleConfigNumber::slotTranslate() +void TDELocaleConfigNumber::slotTranslate() { TQString str; |