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/plugins/gui-standard-display | |
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/plugins/gui-standard-display')
-rw-r--r-- | kradio3/plugins/gui-standard-display/radioview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kradio3/plugins/gui-standard-display/radioview.cpp b/kradio3/plugins/gui-standard-display/radioview.cpp index 0a8e31f..299bbde 100644 --- a/kradio3/plugins/gui-standard-display/radioview.cpp +++ b/kradio3/plugins/gui-standard-display/radioview.cpp @@ -254,7 +254,7 @@ bool RadioView::removeElement (TQObject *_e) return false; ElementCfgListIterator it; - while ((it = elementConfigPages.tqfind(e)) != elementConfigPages.end()) { + while ((it = elementConfigPages.find(e)) != elementConfigPages.end()) { delete (*it).cfg; // it must not used behind, the element will be deleted automatically // by slotElementConfigPageDeleted @@ -432,7 +432,7 @@ bool RadioView::startRecordingWithFormat( const SoundFormat &/*proposed_format*/, SoundFormat &/*real_format*/) { - if (!id.isValid() || id != queryCurrentSoundStreamID() || m_StreamID2MenuID.tqcontains(id)) + if (!id.isValid() || id != queryCurrentSoundStreamID() || m_StreamID2MenuID.contains(id)) return false; TQString descr; @@ -454,7 +454,7 @@ bool RadioView::startRecordingWithFormat( bool RadioView::stopRecording (SoundStreamID id) { - if (!id.isValid() || !m_StreamID2MenuID.tqcontains(id)) + if (!id.isValid() || !m_StreamID2MenuID.contains(id)) return false; int menu_id = m_StreamID2MenuID[id]; @@ -472,7 +472,7 @@ bool RadioView::stopRecording (SoundStreamID id) bool RadioView::noticeSoundStreamChanged(SoundStreamID id) { - if (m_StreamID2MenuID.tqcontains(id)) { + if (m_StreamID2MenuID.contains(id)) { TQString descr; querySoundStreamDescription(id, descr); m_RecordingMenu->changeItem(m_StreamID2MenuID[id], @@ -632,7 +632,7 @@ void RadioView::noticeWidgetPluginShown(WidgetPluginBase *p, bool shown) btnConfigure->blockSignals(false); } - if (m_Plugins2MenuID.tqcontains(p)) { + if (m_Plugins2MenuID.contains(p)) { m_manager->updateWidgetPluginMenuItem(p, m_PluginMenu, m_Plugins2MenuID, shown); } } @@ -682,7 +682,7 @@ void RadioView::slotRecord() SoundFormat sf; queryIsRecordingRunning(id, r, sf); - if (!r && b /*!m_StreamID2MenuID.tqcontains(id)*/) { + if (!r && b /*!m_StreamID2MenuID.contains(id)*/) { if (!queryIsPowerOn()) sendPowerOn(); sendStartRecording(id); @@ -704,7 +704,7 @@ void RadioView::slotRecordingMenu(int i) sendPowerOn(); sendStartRecording(id); } - } else if (m_MenuID2StreamID.tqcontains(i)) { + } else if (m_MenuID2StreamID.contains(i)) { sendStopRecording(m_MenuID2StreamID[i]); } } @@ -749,7 +749,7 @@ void RadioView::slotConfigPageDeleted(TQObject *o) void RadioView::slotElementConfigPageDeleted(TQObject *o) { ElementCfgListIterator it; - while ((it = elementConfigPages.tqfind(o)) != elementConfigPages.end()) { + while ((it = elementConfigPages.find(o)) != elementConfigPages.end()) { elementConfigPages.remove(it); } } |