diff options
Diffstat (limited to 'kradio3/src/stationselector.cpp')
-rw-r--r-- | kradio3/src/stationselector.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kradio3/src/stationselector.cpp b/kradio3/src/stationselector.cpp index 8cf240c..4f8456e 100644 --- a/kradio3/src/stationselector.cpp +++ b/kradio3/src/stationselector.cpp @@ -68,14 +68,14 @@ bool StationSelector::noticeStationSelectionChanged(const TQStringList &sl) m_stationIDsAvailable.clear(); for (unsigned int i = 0; i < m_stationIDsAll.count(); ++i) { - if (sl.tqcontains(m_stationIDsAll[i])) { + if (sl.contains(m_stationIDsAll[i])) { m_stationIDsSelected.append(m_stationIDsAll[i]); } else { m_stationIDsAvailable.append(m_stationIDsAll[i]); } } for (unsigned int i = 0; i < sl.count(); ++i) { - if (!m_stationIDsAll.tqcontains(sl[i])) + if (!m_stationIDsAll.contains(sl[i])) m_stationIDsNotDisplayed.append(sl[i]); } updateListViews(); @@ -103,7 +103,7 @@ bool StationSelector::noticeStationsChanged(const StationList &sl) const TQString &id = i.current()->stationID(); m_stationIDsAll.append(id); - if (m_stationIDsNotDisplayed.tqcontains(id)) { + if (m_stationIDsNotDisplayed.contains(id)) { m_stationIDsNotDisplayed.remove(id); m_stationIDsSelected.append(id); } else { @@ -171,7 +171,7 @@ void StationSelector::slotMoveToRight(const TQStringList &list) while (item) { TQListViewItem *next_item = item->nextSibling(); - if (list.tqcontains(m_stationIDsAvailable[idx_from])) { + if (list.contains(m_stationIDsAvailable[idx_from])) { moveItem (listAvailable, m_stationIDsAvailable, item, idx_from, @@ -194,7 +194,7 @@ void StationSelector::slotMoveToLeft(const TQStringList &list) while (item) { TQListViewItem *next_item = item->nextSibling(); - if (list.tqcontains(m_stationIDsSelected[idx_from])) { + if (list.contains(m_stationIDsSelected[idx_from])) { moveItem (listSelected, m_stationIDsSelected, item, idx_from, |