From 2620ed602b1dc0a7bc3c3135ee12361b1af25405 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kradio3/plugins/radio/radio-configuration.cpp | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kradio3/plugins/radio/radio-configuration.cpp') 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; } -- cgit v1.2.1