diff options
Diffstat (limited to 'kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp')
-rw-r--r-- | kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp b/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp index 6b190ad..9bd7cca 100644 --- a/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp +++ b/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp @@ -104,7 +104,7 @@ AlsaSoundConfiguration::~AlsaSoundConfiguration () void AlsaSoundConfiguration::slotPlaybackCardSelected(const TQString &cardname) { - if (!m_name2card.tqcontains(cardname)) + if (!m_name2card.contains(cardname)) return; listSoundDevices(m_comboPlaybackDevice, &m_playbackDeviceName2dev, &m_dev2playbackDeviceName, &m_playbackDevice2idx, m_name2card[cardname], SND_PCM_STREAM_PLAYBACK); @@ -113,7 +113,7 @@ void AlsaSoundConfiguration::slotPlaybackCardSelected(const TQString &cardname) void AlsaSoundConfiguration::slotCaptureCardSelected(const TQString &cardname) { - if (!m_name2card.tqcontains(cardname)) + if (!m_name2card.contains(cardname)) return; saveCaptureMixerSettings(); @@ -146,7 +146,7 @@ void AlsaSoundConfiguration::slotCaptureCardSelected(const TQString &cardname) int idx = 0; for (TQValueListConstIterator<TQString> it = all_list.begin(); it != all_list.end(); ++it, ++idx) { QAlsaMixerElement *e = new QAlsaMixerElement(m_groupMixerSubFrame, *it, - sw_list.tqcontains(*it), vol_list.tqcontains(*it)); + sw_list.contains(*it), vol_list.contains(*it)); TQObject::connect(e, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty())); m_groupMixerLayout->addWidget(e, idx > cols, idx % cols); e->show(); @@ -179,7 +179,7 @@ void AlsaSoundConfiguration::restoreCaptureMixerSettings() TQString id = AlsaConfigMixerSetting::getIDString(card, name); QAlsaMixerElement *e = *it; - if (m_MixerSettings.tqcontains(id)) { + if (m_MixerSettings.contains(id)) { const AlsaConfigMixerSetting &s = m_MixerSettings[id]; e->setVolume(s.m_volume); e->setOverride(s.m_use); |