diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 2620ed602b1dc0a7bc3c3135ee12361b1af25405 (patch) | |
tree | 382e1bc273f19af4e5dd261f79741046ed9e37c6 /kradio3/src/stationselector.cpp | |
parent | fdd75d807795e8fcf6286df1fb185153ac623efd (diff) | |
download | tderadio-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/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, |