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-05 17:30:01 +0900 |
| commit | 9c57237885c152de17e98d12227a706a158708d0 (patch) | |
| tree | 4a0e5ac5fb306e1e4b8ddb5436ca595722be17ae /plugins/alsa-sound/alsa-sound-configuration.cpp | |
| parent | 3dbd1166c53e8db554a4b6c8b67e7d91a78aab00 (diff) | |
| download | tderadio-9c572378.tar.gz tderadio-9c572378.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 269551cf8e80ed83b626bb793f0f9f15b5f2809c)
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); |
