From 9c57237885c152de17e98d12227a706a158708d0 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 (cherry picked from commit 269551cf8e80ed83b626bb793f0f9f15b5f2809c) --- plugins/oss-sound/oss-sound-configuration.cpp | 10 +++++----- plugins/oss-sound/oss-sound.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/oss-sound') diff --git a/plugins/oss-sound/oss-sound-configuration.cpp b/plugins/oss-sound/oss-sound-configuration.cpp index 2a0a783..ace3048 100644 --- a/plugins/oss-sound/oss-sound-configuration.cpp +++ b/plugins/oss-sound/oss-sound-configuration.cpp @@ -29,11 +29,11 @@ OSSSoundConfiguration::OSSSoundConfiguration (TQWidget *parent, OSSSoundDevice * m_dirty(true), m_ignore_gui_updates(false) { - connect(editDSPDevice, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotSetDirty())); - connect(editMixerDevice, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotSetDirty())); - connect(editBufferSize, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty())); - connect(chkDisablePlayback, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty())); - connect(chkDisableCapture, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty())); + connect(editDSPDevice, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotSetDirty())); + connect(editMixerDevice, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotSetDirty())); + connect(editBufferSize, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty())); + connect(chkDisablePlayback, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty())); + connect(chkDisableCapture, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty())); slotCancel(); } diff --git a/plugins/oss-sound/oss-sound.cpp b/plugins/oss-sound/oss-sound.cpp index 00801c0..c0033f3 100644 --- a/plugins/oss-sound/oss-sound.cpp +++ b/plugins/oss-sound/oss-sound.cpp @@ -64,7 +64,7 @@ OSSSoundDevice::OSSSoundDevice(const TQString &name) m_EnablePlayback(true), m_EnableCapture(true) { - TQObject::connect(&m_PollingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotPoll())); + TQObject::connect(&m_PollingTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotPoll())); } @@ -167,7 +167,7 @@ void OSSSoundDevice::setMixerDeviceName(const TQString &dev_name) ConfigPageInfo OSSSoundDevice::createConfigurationPage() { OSSSoundConfiguration *conf = new OSSSoundConfiguration(NULL, this); - TQObject::connect(this, TQT_SIGNAL(sigUpdateConfig()), conf, TQT_SLOT(slotUpdateConfig())); + TQObject::connect(this, TQ_SIGNAL(sigUpdateConfig()), conf, TQ_SLOT(slotUpdateConfig())); return ConfigPageInfo (conf, i18n("OSS Sound"), i18n("OSS Sound Device Options"), -- cgit v1.2.1