diff options
Diffstat (limited to 'kradio3/plugins/radio/radio.cpp')
-rw-r--r-- | kradio3/plugins/radio/radio.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kradio3/plugins/radio/radio.cpp b/kradio3/plugins/radio/radio.cpp index af14e66..1f2ac45 100644 --- a/kradio3/plugins/radio/radio.cpp +++ b/kradio3/plugins/radio/radio.cpp @@ -217,7 +217,7 @@ bool Radio::setPresetFile(const TQString &presetFile) int Radio::getStationIdx(const RadioStation &rs) const { RawStationList &sl = const_cast<RawStationList&>(m_stationList.all()); - return sl.tqfind(&rs); + return sl.find(&rs); } int Radio::getCurrentStationIdx() const @@ -245,7 +245,7 @@ bool Radio::setActiveDevice(IRadioDevice *rd, bool keepPower) // check if new station is in "connections" // special case: rd == NULL: power off active device, new active device = NULL - if (!rd || IRadioDeviceClient::iConnections.tqcontainsRef(rd)) { // new device is ok + if (!rd || IRadioDeviceClient::iConnections.containsRef(rd)) { // new device is ok // save old power state and power off old device bool oldPowerOn = false; @@ -433,13 +433,13 @@ void Radio::noticeDisconnectI(IRadioDeviceClient::cmplInterface *rd, bool pointe if (rd == m_activeDevice) { // search a new active device - if (IRadioDeviceClient::iConnections.tqfindRef(rd) >= 0) { + if (IRadioDeviceClient::iConnections.findRef(rd) >= 0) { IRadioDevice *new_rd = NULL; new_rd = IRadioDeviceClient::iConnections.next(); // choose next device as active device if next exists if (!new_rd) { - IRadioDeviceClient::iConnections.tqfindRef(rd); + IRadioDeviceClient::iConnections.findRef(rd); new_rd = IRadioDeviceClient::iConnections.prev(); // otherwise try prev then, may be NULL (no connections) } setActiveDevice(new_rd); |