summaryrefslogtreecommitdiffstats
path: root/kradio3/src/stationlist.cpp
diff options
context:
space:
mode:
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);