diff options
Diffstat (limited to 'kcontrol/locale')
-rw-r--r-- | kcontrol/locale/kcmlocale.cpp | 14 | ||||
-rw-r--r-- | kcontrol/locale/localemon.cpp | 2 | ||||
-rw-r--r-- | kcontrol/locale/localenum.cpp | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/locale/kcmlocale.cpp b/kcontrol/locale/kcmlocale.cpp index 81b899caa..c2ca4c310 100644 --- a/kcontrol/locale/kcmlocale.cpp +++ b/kcontrol/locale/kcmlocale.cpp @@ -172,7 +172,7 @@ void KLocaleConfig::slotAddLanguage(const TQString & code) pos = 0; // If it's already in list, just move it (delete the old, then insert a new) - int oldPos = languageList.tqfindIndex( code ); + int oldPos = languageList.findIndex( code ); if ( oldPos != -1 ) languageList.remove( languageList.tqat(oldPos) ); @@ -305,9 +305,9 @@ void KLocaleConfig::loadLanguageList() m_locale->translate("without name")); TQString tag = *it; - int index = tag.tqfindRev('/'); + int index = tag.findRev('/'); tag = tag.left(index); - index = tag.tqfindRev('/'); + index = tag.findRev('/'); tag = tag.mid(index + 1); m_addLanguage->insertItem(name, tag, submenu, menu_index); } @@ -338,11 +338,11 @@ void KLocaleConfig::loadCountryList() TQString tag = *it; int index; - index = tag.tqfindRev('/'); + index = tag.findRev('/'); if (index != -1) tag = tag.mid(index + 1); - index = tag.tqfindRev('.'); + index = tag.findRev('.'); if (index != -1) tag.truncate(index); @@ -374,9 +374,9 @@ void KLocaleConfig::loadCountryList() TQString submenu = entry.readEntry("Region"); TQString tag = *it; - int index = tag.tqfindRev('/'); + int index = tag.findRev('/'); tag.truncate(index); - index = tag.tqfindRev('/'); + index = tag.findRev('/'); tag = tag.mid(index + 1); int menu_index = submenu.isEmpty() ? -1 : -2; diff --git a/kcontrol/locale/localemon.cpp b/kcontrol/locale/localemon.cpp index 2c2fa37c5..16987cc90 100644 --- a/kcontrol/locale/localemon.cpp +++ b/kcontrol/locale/localemon.cpp @@ -152,7 +152,7 @@ void KLocaleConfigMoney::save() m_locale->monetaryDecimalSymbol(), true, true); str = ent.readEntry("MonetaryThousandsSeparator", TQString::tqfromLatin1(",")); - str.tqreplace(TQString::tqfromLatin1("$0"), TQString()); + str.replace(TQString::tqfromLatin1("$0"), TQString()); config->deleteEntry("MonetaryThousandsSeparator", false, true); if (str != m_locale->monetaryThousandsSeparator()) config->writeEntry("MonetaryThousandsSeparator", diff --git a/kcontrol/locale/localenum.cpp b/kcontrol/locale/localenum.cpp index 2095e1e9a..31f06fd98 100644 --- a/kcontrol/locale/localenum.cpp +++ b/kcontrol/locale/localenum.cpp @@ -105,7 +105,7 @@ void KLocaleConfigNumber::save() str = ent.readEntry("ThousandsSeparator", TQString::tqfromLatin1(",")); config->deleteEntry("ThousandsSeparator", false, true); - str.tqreplace(TQString::tqfromLatin1("$0"), TQString()); + str.replace(TQString::tqfromLatin1("$0"), TQString()); if (str != m_locale->thousandsSeparator()) config->writeEntry("ThousandsSeparator", TQString::tqfromLatin1("$0%1$0") |