diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | a53c68f02a359d234dee62dfa3bdd12bb17b13b5 (patch) | |
tree | 5a800b73c31a1a1251ab533dc614b521f1378ce3 /kttsd/filters/stringreplacer/stringreplacerconf.cpp | |
parent | 389971def351e67fcf01c3dbe6b83c4d721dd755 (diff) | |
download | tdeaccessibility-a53c68f02a359d234dee62dfa3bdd12bb17b13b5.tar.gz tdeaccessibility-a53c68f02a359d234dee62dfa3bdd12bb17b13b5.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd/filters/stringreplacer/stringreplacerconf.cpp')
-rw-r--r-- | kttsd/filters/stringreplacer/stringreplacerconf.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kttsd/filters/stringreplacer/stringreplacerconf.cpp b/kttsd/filters/stringreplacer/stringreplacerconf.cpp index 8bce00d..7954b13 100644 --- a/kttsd/filters/stringreplacer/stringreplacerconf.cpp +++ b/kttsd/filters/stringreplacer/stringreplacerconf.cpp @@ -308,7 +308,7 @@ TQString StringReplacerConf::saveToFile(const TQString& filename) } // Application ID - TQString appId = m_widget->appIdLineEdit->text().tqreplace(" ", ""); + TQString appId = m_widget->appIdLineEdit->text().replace(" ", ""); if ( !appId.isEmpty() ) { TQStringList appIdList = TQStringList::split(",", appId); @@ -442,7 +442,7 @@ void StringReplacerConf::slotLanguageBrowseButton_clicked() if (!countryCode.isEmpty()) language += " (" + KGlobal::locale()->twoAlphaToCountryName(countryCode)+")"; item = new KListViewItem(langLView, language, locale); - if (m_languageCodeList.tqcontains(locale)) item->setSelected(true); + if (m_languageCodeList.contains(locale)) item->setSelected(true); } // Sort by language. langLView->setSorting(0); @@ -488,11 +488,11 @@ void StringReplacerConf::slotLanguageBrowseButton_clicked() if (m_languageCodeList.count() > 1) language = i18n("Multiple Languages"); if ( !s1.isEmpty() ) { - s2.tqreplace( s1, language ); - s2.tqreplace( i18n("Multiple Languages"), language ); + s2.replace( s1, language ); + s2.replace( i18n("Multiple Languages"), language ); } - s2.tqreplace(" ()", ""); - if ( !s2.tqcontains("(") && !language.isEmpty() ) s2 += " (" + language + ")"; + s2.replace(" ()", ""); + if ( !s2.contains("(") && !language.isEmpty() ) s2 += " (" + language + ")"; m_widget->nameLineEdit->setText(s2); configChanged(); } |