diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:38:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:38:29 +0900 |
commit | 269551cf8e80ed83b626bb793f0f9f15b5f2809c (patch) | |
tree | 8acb279ab4af2e99e4db20e28ddd8fc1148a63f1 /plugins/alsa-sound/alsa-sound-configuration.cpp | |
parent | 887adb8a4498cf2537919d863a2554e4be379249 (diff) | |
download | tderadio-269551cf8e80ed83b626bb793f0f9f15b5f2809c.tar.gz tderadio-269551cf8e80ed83b626bb793f0f9f15b5f2809c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/alsa-sound/alsa-sound-configuration.cpp')
-rw-r--r-- | plugins/alsa-sound/alsa-sound-configuration.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/alsa-sound/alsa-sound-configuration.cpp b/plugins/alsa-sound/alsa-sound-configuration.cpp index bf21210..362d19e 100644 --- a/plugins/alsa-sound/alsa-sound-configuration.cpp +++ b/plugins/alsa-sound/alsa-sound-configuration.cpp @@ -41,19 +41,19 @@ AlsaSoundConfiguration::AlsaSoundConfiguration (TQWidget *parent, AlsaSoundDevic m_dirty(true), m_ignore_updates(false) { - TQObject::connect(m_comboPlaybackCard, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetDirty())); - TQObject::connect(m_comboCaptureCard, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetDirty())); - TQObject::connect(m_comboPlaybackDevice, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetDirty())); - TQObject::connect(m_comboCaptureDevice, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetDirty())); - TQObject::connect(editHWBufferSize, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty())); - TQObject::connect(editBufferSize, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty())); - TQObject::connect(chkDisablePlayback, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty())); - TQObject::connect(chkDisableCapture, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty())); - - TQObject::connect(m_comboPlaybackCard, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(slotPlaybackCardSelected(const TQString &))); - TQObject::connect(m_comboCaptureCard, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(slotCaptureCardSelected(const TQString &))); + TQObject::connect(m_comboPlaybackCard, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetDirty())); + TQObject::connect(m_comboCaptureCard, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetDirty())); + TQObject::connect(m_comboPlaybackDevice, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetDirty())); + TQObject::connect(m_comboCaptureDevice, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetDirty())); + TQObject::connect(editHWBufferSize, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty())); + TQObject::connect(editBufferSize, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty())); + TQObject::connect(chkDisablePlayback, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty())); + TQObject::connect(chkDisableCapture, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty())); + + TQObject::connect(m_comboPlaybackCard, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(slotPlaybackCardSelected(const TQString &))); + TQObject::connect(m_comboCaptureCard, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(slotCaptureCardSelected(const TQString &))); m_groupMixer->setColumnLayout(0, TQt::Horizontal ); @@ -147,7 +147,7 @@ void AlsaSoundConfiguration::slotCaptureCardSelected(const TQString &cardname) for (TQValueListConstIterator<TQString> it = all_list.begin(); it != all_list.end(); ++it, ++idx) { QAlsaMixerElement *e = new QAlsaMixerElement(m_groupMixerSubFrame, *it, sw_list.contains(*it), vol_list.contains(*it)); - TQObject::connect(e, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty())); + TQObject::connect(e, TQ_SIGNAL(sigDirty()), this, TQ_SLOT(slotSetDirty())); m_groupMixerLayout->addWidget(e, idx > cols, idx % cols); e->show(); m_MixerElements.insert(*it, e); |