summaryrefslogtreecommitdiffstats
path: root/plugins/recording
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-02 11:38:29 +0900
committerMichele Calgaro <[email protected]>2024-01-02 11:38:29 +0900
commit269551cf8e80ed83b626bb793f0f9f15b5f2809c (patch)
tree8acb279ab4af2e99e4db20e28ddd8fc1148a63f1 /plugins/recording
parent887adb8a4498cf2537919d863a2554e4be379249 (diff)
downloadtderadio-269551cf8e80ed83b626bb793f0f9f15b5f2809c.tar.gz
tderadio-269551cf8e80ed83b626bb793f0f9f15b5f2809c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'plugins/recording')
-rw-r--r--plugins/recording/recording-configuration.cpp36
-rw-r--r--plugins/recording/recording-monitor.cpp6
2 files changed, 21 insertions, 21 deletions
diff --git a/plugins/recording/recording-configuration.cpp b/plugins/recording/recording-configuration.cpp
index f35f7dd..564248e 100644
--- a/plugins/recording/recording-configuration.cpp
+++ b/plugins/recording/recording-configuration.cpp
@@ -34,24 +34,24 @@ RecordingConfiguration::RecordingConfiguration (TQWidget *parent)
{
editDirectory->setMode(KFile::Directory | KFile::ExistingOnly);
- TQObject::connect(editFileFormat, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotFormatSelectionChanged()));
- TQObject::connect(editBits, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotFormatSelectionChanged()));
-
- connect(editRate, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
- connect(editBits, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
- connect(editSign, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
- connect(editEndianess, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
- connect(editChannels, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
- connect(editFileFormat, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSetDirty()));
- connect(editMP3Quality, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
- connect(editOggQuality, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
- connect(editDirectory, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotSetDirty()));
- connect(editBufferSize, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
- connect(editBufferCount, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
- connect(m_spinboxPreRecordingSeconds, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotSetDirty()));
- connect(m_checkboxPreRecordingEnable, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetDirty()));
+ TQObject::connect(editFileFormat, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotFormatSelectionChanged()));
+ TQObject::connect(editBits, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotFormatSelectionChanged()));
+
+ connect(editRate, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetDirty()));
+ connect(editBits, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetDirty()));
+ connect(editSign, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetDirty()));
+ connect(editEndianess, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetDirty()));
+ connect(editChannels, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetDirty()));
+ connect(editFileFormat, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSetDirty()));
+ connect(editMP3Quality, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetDirty()));
+ connect(editOggQuality, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetDirty()));
+ connect(editDirectory, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotSetDirty()));
+ connect(editBufferSize, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetDirty()));
+ connect(editBufferCount, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetDirty()));
+ connect(m_spinboxPreRecordingSeconds, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotSetDirty()));
+ connect(m_checkboxPreRecordingEnable, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetDirty()));
// attention: remove items with higher index first ;-) otherwise indexes are not valid
#ifndef HAVE_OGG
diff --git a/plugins/recording/recording-monitor.cpp b/plugins/recording/recording-monitor.cpp
index ee1514b..3800da3 100644
--- a/plugins/recording/recording-monitor.cpp
+++ b/plugins/recording/recording-monitor.cpp
@@ -55,8 +55,8 @@ RecordingMonitor::RecordingMonitor(const TQString &name)
TQPushButton *close = new TQPushButton(i18n("&Close"), this);
m_btnStartStop = new TQPushButton(i18n("&Record"), this);
- TQObject::connect(close, TQT_SIGNAL(clicked()), this, TQT_SLOT(hide()));
- TQObject::connect(m_btnStartStop, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStartStopRecording()));
+ TQObject::connect(close, TQ_SIGNAL(clicked()), this, TQ_SLOT(hide()));
+ TQObject::connect(m_btnStartStop, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStartStopRecording()));
m_dataMonitor = new RecordingDataMonitor(this, NULL);
m_dataMonitor->setEnabled(false);
@@ -72,7 +72,7 @@ RecordingMonitor::RecordingMonitor(const TQString &name)
m_comboSoundStreamSelector->insertItem(i18n("nothing"));
- TQObject::connect(m_comboSoundStreamSelector, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotStreamSelected(int)));
+ TQObject::connect(m_comboSoundStreamSelector, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotStreamSelected(int)));
updateRecordingButton();
}