summaryrefslogtreecommitdiffstats
path: root/plugins/alsa-sound/alsa-mixer-element.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:38:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 17:30:01 +0900
commit9c57237885c152de17e98d12227a706a158708d0 (patch)
tree4a0e5ac5fb306e1e4b8ddb5436ca595722be17ae /plugins/alsa-sound/alsa-mixer-element.cpp
parent3dbd1166c53e8db554a4b6c8b67e7d91a78aab00 (diff)
downloadtderadio-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-mixer-element.cpp')
-rw-r--r--plugins/alsa-sound/alsa-mixer-element.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/alsa-sound/alsa-mixer-element.cpp b/plugins/alsa-sound/alsa-mixer-element.cpp
index 53a7216..12a48f2 100644
--- a/plugins/alsa-sound/alsa-mixer-element.cpp
+++ b/plugins/alsa-sound/alsa-mixer-element.cpp
@@ -34,33 +34,33 @@ QAlsaMixerElement::QAlsaMixerElement(TQWidget *parent, const TQString &label, bo
setLabel(label);
setVolume(0);
- TQObject::connect(m_spinboxVolume, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT (slotSpinboxValueChanged(int)));
- TQObject::connect(m_sliderVolume, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT (slotSliderValueChanged(int)));
+ TQObject::connect(m_spinboxVolume, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT (slotSpinboxValueChanged(int)));
+ TQObject::connect(m_sliderVolume, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT (slotSliderValueChanged(int)));
if (m_HasVolume) {
- TQObject::connect(m_checkboxOverride, TQT_SIGNAL(toggled(bool)),
- m_spinboxVolume, TQT_SLOT (setEnabled(bool)));
- TQObject::connect(m_checkboxOverride, TQT_SIGNAL(toggled(bool)),
- m_sliderVolume, TQT_SLOT (setEnabled(bool)));
+ TQObject::connect(m_checkboxOverride, TQ_SIGNAL(toggled(bool)),
+ m_spinboxVolume, TQ_SLOT (setEnabled(bool)));
+ TQObject::connect(m_checkboxOverride, TQ_SIGNAL(toggled(bool)),
+ m_sliderVolume, TQ_SLOT (setEnabled(bool)));
} else {
m_spinboxVolume->hide();
m_sliderVolume->hide();
}
if (m_HasSwitch) {
- TQObject::connect(m_checkboxOverride, TQT_SIGNAL(toggled(bool)),
- m_checkboxActive, TQT_SLOT (setEnabled(bool)));
+ TQObject::connect(m_checkboxOverride, TQ_SIGNAL(toggled(bool)),
+ m_checkboxActive, TQ_SLOT (setEnabled(bool)));
} else {
//m_checkboxActive->hide();
m_checkboxActive->setEnabled(false);
m_checkboxActive->setChecked(true);
}
- connect(m_checkboxOverride, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty()));
- connect(m_checkboxActive, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty()));
- connect(m_spinboxVolume, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty()));
- connect(m_sliderVolume, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty()));
+ connect(m_checkboxOverride, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty()));
+ connect(m_checkboxActive, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty()));
+ connect(m_spinboxVolume, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty()));
+ connect(m_sliderVolume, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty()));
}