From 269551cf8e80ed83b626bb793f0f9f15b5f2809c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:38:29 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- plugins/alsa-sound/alsa-sound-configuration.cpp | 28 ++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'plugins/alsa-sound/alsa-sound-configuration.cpp') 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 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); -- cgit v1.2.1