diff options
Diffstat (limited to 'kradio3/plugins/gui-standard-display/radioview.cpp')
-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); } } |