diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 21:54:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 21:54:35 +0000 |
commit | 12b885ee134c6d178631873ddda9fc0b6d73d7fd (patch) | |
tree | a8488c6c9de3cd0d6447dcca204ccfd13c4b67fe /kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp | |
parent | 70b9eea2ba01c3691497f49e4c45cb070c16193c (diff) | |
download | tderadio-12b885ee134c6d178631873ddda9fc0b6d73d7fd.tar.gz tderadio-12b885ee134c6d178631873ddda9fc0b6d73d7fd.zip |
Fix kradio FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1239181 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp')
-rw-r--r-- | kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp b/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp index f7d3bf4..6b190ad 100644 --- a/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp +++ b/kradio3/plugins/alsa-sound/alsa-sound-configuration.cpp @@ -126,7 +126,7 @@ void AlsaSoundConfiguration::slotCaptureCardSelected(const TQString &cardname) TQMap<TQString, AlsaMixerElement> vol_ch2id, sw_ch2id; AlsaSoundDevice::getCaptureMixerChannels(m_name2card[cardname], NULL, vol_list, vol_ch2id, sw_list, sw_ch2id, &all_list); - for (TQMapIterator<TQString, TQAlsaMixerElement*> it = m_MixerElements.begin(); it != m_MixerElements.end(); ++it) { + for (TQMapIterator<TQString, QAlsaMixerElement*> it = m_MixerElements.begin(); it != m_MixerElements.end(); ++it) { delete *it; } m_MixerElements.clear(); @@ -145,7 +145,7 @@ void AlsaSoundConfiguration::slotCaptureCardSelected(const TQString &cardname) int idx = 0; for (TQValueListConstIterator<TQString> it = all_list.begin(); it != all_list.end(); ++it, ++idx) { - TQAlsaMixerElement *e = new TQAlsaMixerElement(m_groupMixerSubFrame, *it, + QAlsaMixerElement *e = new QAlsaMixerElement(m_groupMixerSubFrame, *it, sw_list.tqcontains(*it), vol_list.tqcontains(*it)); TQObject::connect(e, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty())); m_groupMixerLayout->addWidget(e, idx > cols, idx % cols); @@ -158,11 +158,11 @@ void AlsaSoundConfiguration::slotCaptureCardSelected(const TQString &cardname) void AlsaSoundConfiguration::saveCaptureMixerSettings() { - for (TQMapIterator<TQString, TQAlsaMixerElement*> it = m_MixerElements.begin(); it != m_MixerElements.end(); ++it) { + for (TQMapIterator<TQString, QAlsaMixerElement*> it = m_MixerElements.begin(); it != m_MixerElements.end(); ++it) { const TQString &name = it.key(); int card = m_currentCaptureCard; TQString id = AlsaConfigMixerSetting::getIDString(card, name); - TQAlsaMixerElement *e = *it; + QAlsaMixerElement *e = *it; float vol = e->getVolume(); bool use = e->getOverride(); bool active = e->getActive(); @@ -173,11 +173,11 @@ void AlsaSoundConfiguration::saveCaptureMixerSettings() void AlsaSoundConfiguration::restoreCaptureMixerSettings() { - for (TQMapIterator<TQString, TQAlsaMixerElement*> it = m_MixerElements.begin(); it != m_MixerElements.end(); ++it) { + for (TQMapIterator<TQString, QAlsaMixerElement*> it = m_MixerElements.begin(); it != m_MixerElements.end(); ++it) { const TQString &name = it.key(); int card = m_currentCaptureCard; TQString id = AlsaConfigMixerSetting::getIDString(card, name); - TQAlsaMixerElement *e = *it; + QAlsaMixerElement *e = *it; if (m_MixerSettings.tqcontains(id)) { const AlsaConfigMixerSetting &s = m_MixerSettings[id]; |