summaryrefslogtreecommitdiffstats
path: root/kcontrol/locale
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kcontrol/locale
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/locale')
-rw-r--r--kcontrol/locale/kcmlocale.cpp14
-rw-r--r--kcontrol/locale/localemon.cpp2
-rw-r--r--kcontrol/locale/localenum.cpp2
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")