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/timeshifter/timeshifter-configuration.cpp | 18 +++++++++--------- plugins/timeshifter/timeshifter.cpp | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/timeshifter') diff --git a/plugins/timeshifter/timeshifter-configuration.cpp b/plugins/timeshifter/timeshifter-configuration.cpp index 1974ae7..0d928f8 100644 --- a/plugins/timeshifter/timeshifter-configuration.cpp +++ b/plugins/timeshifter/timeshifter-configuration.cpp @@ -45,15 +45,15 @@ TimeShifterConfiguration::TimeShifterConfiguration (TQWidget *parent, TimeShifte m_Shifter(shifter), m_dirty(true) { - TQObject::connect(buttonSelectTempFile, TQT_SIGNAL(clicked()), - this, TQT_SLOT(selectTempFile())); - TQObject::connect(comboPlaybackMixerDevice, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotComboPlaybackMixerSelected(int))); - - connect(editTempFile, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotSetDirty())); - connect(editTempFileSize, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty())); - connect(comboPlaybackMixerChannel, TQT_SIGNAL(activated( int )), this, TQT_SLOT(slotSetDirty())); - connect(comboPlaybackMixerDevice, TQT_SIGNAL(activated( int )), this, TQT_SLOT(slotSetDirty())); + TQObject::connect(buttonSelectTempFile, TQ_SIGNAL(clicked()), + this, TQ_SLOT(selectTempFile())); + TQObject::connect(comboPlaybackMixerDevice, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotComboPlaybackMixerSelected(int))); + + connect(editTempFile, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotSetDirty())); + connect(editTempFileSize, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty())); + connect(comboPlaybackMixerChannel, TQ_SIGNAL(activated( int )), this, TQ_SLOT(slotSetDirty())); + connect(comboPlaybackMixerDevice, TQ_SIGNAL(activated( int )), this, TQ_SLOT(slotSetDirty())); slotCancel(); } diff --git a/plugins/timeshifter/timeshifter.cpp b/plugins/timeshifter/timeshifter.cpp index 146e530..794b679 100644 --- a/plugins/timeshifter/timeshifter.cpp +++ b/plugins/timeshifter/timeshifter.cpp @@ -116,7 +116,7 @@ void TimeShifter::restoreState (TDEConfig *config) ConfigPageInfo TimeShifter::createConfigurationPage() { TimeShifterConfiguration *conf = new TimeShifterConfiguration(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("Timeshifter"), i18n("Timeshifter Options"), -- cgit v1.2.1