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 | 2620ed602b1dc0a7bc3c3135ee12361b1af25405 (patch) | |
tree | 382e1bc273f19af4e5dd261f79741046ed9e37c6 /kradio3/plugins/radio/radio-configuration.cpp | |
parent | fdd75d807795e8fcf6286df1fb185153ac623efd (diff) | |
download | tderadio-2620ed602b1dc0a7bc3c3135ee12361b1af25405.tar.gz tderadio-2620ed602b1dc0a7bc3c3135ee12361b1af25405.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/plugins/radio/radio-configuration.cpp')
-rw-r--r-- | kradio3/plugins/radio/radio-configuration.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kradio3/plugins/radio/radio-configuration.cpp b/kradio3/plugins/radio/radio-configuration.cpp index f28b933..f306aeb 100644 --- a/kradio3/plugins/radio/radio-configuration.cpp +++ b/kradio3/plugins/radio/radio-configuration.cpp @@ -230,7 +230,7 @@ void RadioConfiguration::slotStationSelectionChanged(int idx) stackStationEdit->setDisabled(!s); if (s) { - RadioStationConfig *c = stationEditors.tqfind(s->getClassName()); + RadioStationConfig *c = stationEditors.find(s->getClassName()); if (!c) { c = s->createEditor(); if (c) { @@ -490,22 +490,22 @@ void RadioConfiguration::slotLastChangeNow() static TQString &urlEscapes(TQString &s) { - s.tqreplace(TQRegExp("%"), "%25"); - s.tqreplace(TQRegExp("\t"), "%09"); - s.tqreplace(TQRegExp("\n"), "%0A"); - s.tqreplace(TQRegExp("\n"), "%0D"); - s.tqreplace(TQRegExp(" "), "%20"); - s.tqreplace(TQRegExp("\\!"), "%21"); - s.tqreplace(TQRegExp("\""), "%22"); - s.tqreplace(TQRegExp("#"), "%23"); - s.tqreplace(TQRegExp("\\$"), "%24"); - s.tqreplace(TQRegExp("\\&"), "%26"); - s.tqreplace(TQRegExp("'"), "%27"); - s.tqreplace(TQRegExp(","), "%2C"); - s.tqreplace(TQRegExp(":"), "%3A"); - s.tqreplace(TQRegExp(";"), "%3B"); - s.tqreplace(TQRegExp("="), "%3D"); - s.tqreplace(TQRegExp("\\?"), "%3F"); + s.replace(TQRegExp("%"), "%25"); + s.replace(TQRegExp("\t"), "%09"); + s.replace(TQRegExp("\n"), "%0A"); + s.replace(TQRegExp("\n"), "%0D"); + s.replace(TQRegExp(" "), "%20"); + s.replace(TQRegExp("\\!"), "%21"); + s.replace(TQRegExp("\""), "%22"); + s.replace(TQRegExp("#"), "%23"); + s.replace(TQRegExp("\\$"), "%24"); + s.replace(TQRegExp("\\&"), "%26"); + s.replace(TQRegExp("'"), "%27"); + s.replace(TQRegExp(","), "%2C"); + s.replace(TQRegExp(":"), "%3A"); + s.replace(TQRegExp(";"), "%3B"); + s.replace(TQRegExp("="), "%3D"); + s.replace(TQRegExp("\\?"), "%3F"); return s; } |