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/src/stationselector.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kradio3/src/stationselector.cpp') 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, -- cgit v1.2.1