diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
| commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
| tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /kcontrol/locale/localenum.cpp | |
| parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
| download | tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip  | |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/locale/localenum.cpp')
| -rw-r--r-- | kcontrol/locale/localenum.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/locale/localenum.cpp b/kcontrol/locale/localenum.cpp index 79ae74c67..537cc99ab 100644 --- a/kcontrol/locale/localenum.cpp +++ b/kcontrol/locale/localenum.cpp @@ -89,26 +89,26 @@ void KLocaleConfigNumber::save()    KConfigGroupSaver saver(config, "Locale");    KSimpleConfig ent(locate("locale", -			   TQString::tqfromLatin1("l10n/%1/entry.desktop") +			   TQString::fromLatin1("l10n/%1/entry.desktop")  			   .arg(m_locale->country())), true);    ent.setGroup("KCM Locale");    TQString str;    str = ent.readEntry("DecimalSymbol", -		      TQString::tqfromLatin1(".")); +		      TQString::fromLatin1("."));    config->deleteEntry("DecimalSymbol", false, true);    if (str != m_locale->decimalSymbol())      config->writeEntry("DecimalSymbol",  		       m_locale->decimalSymbol(), true, true);    str = ent.readEntry("ThousandsSeparator", -		      TQString::tqfromLatin1(",")); +		      TQString::fromLatin1(","));    config->deleteEntry("ThousandsSeparator", false, true); -  str.tqreplace(TQString::tqfromLatin1("$0"), TQString::null); +  str.replace(TQString::fromLatin1("$0"), TQString::null);    if (str != m_locale->thousandsSeparator())      config->writeEntry("ThousandsSeparator", -		       TQString::tqfromLatin1("$0%1$0") +		       TQString::fromLatin1("$0%1$0")  		       .arg(m_locale->thousandsSeparator()), true, true);    str = ent.readEntry("PositiveSign"); @@ -116,7 +116,7 @@ void KLocaleConfigNumber::save()    if (str != m_locale->positiveSign())      config->writeEntry("PositiveSign", m_locale->positiveSign(), true, true); -  str = ent.readEntry("NegativeSign", TQString::tqfromLatin1("-")); +  str = ent.readEntry("NegativeSign", TQString::fromLatin1("-"));    config->deleteEntry("NegativeSign", false, true);    if (str != m_locale->negativeSign())      config->writeEntry("NegativeSign", m_locale->negativeSign(), true, true);  | 
