summaryrefslogtreecommitdiffstats
path: root/kradio3/src/stationlist.cpp
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
commit2620ed602b1dc0a7bc3c3135ee12361b1af25405 (patch)
tree382e1bc273f19af4e5dd261f79741046ed9e37c6 /kradio3/src/stationlist.cpp
parentfdd75d807795e8fcf6286df1fb185153ac623efd (diff)
downloadtderadio-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/src/stationlist.cpp')
-rw-r--r--kradio3/src/stationlist.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kradio3/src/stationlist.cpp b/kradio3/src/stationlist.cpp
index 737fd72..e7e7d64 100644
--- a/kradio3/src/stationlist.cpp
+++ b/kradio3/src/stationlist.cpp
@@ -104,7 +104,7 @@ bool RawStationList::insert (const RadioStation * item )
if (!item) return false;
int idx = idxWithID(item->stationID());
if (idx >= 0) {
- return tqreplace(idx, item);
+ return replace(idx, item);
} else {
append(item);
return true;
@@ -145,11 +145,11 @@ void RawStationList::append ( const RadioStation * item )
}
-bool RawStationList::tqreplace ( uint index, const RadioStation * item )
+bool RawStationList::replace ( uint index, const RadioStation * item )
{
bool r = true;
RadioStation *rs = &stationWithID(item->stationID());
- r = BaseClass::tqreplace(index, item);
+ r = BaseClass::replace(index, item);
if (rs != item) {
BaseClass::removeRef(rs);
}
@@ -379,7 +379,7 @@ bool StationList::readXML (const KURL &url, const IErrorLogClient &logger, bool
presetFile.reset();
// preset file written with kradio <= 0.2.x
- if (tmp.tqfind("<format>") < 0) {
+ if (tmp.find("<format>") < 0) {
logger.logInfo(i18n("Old Preset File Format detected"));
TQTextStream ins(&presetFile);
ins.setEncoding(TQTextStream::Locale);