summaryrefslogtreecommitdiffstats
path: root/plugins/timecontrol
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-02 11:38:29 +0900
commit269551cf8e80ed83b626bb793f0f9f15b5f2809c (patch)
tree8acb279ab4af2e99e4db20e28ddd8fc1148a63f1 /plugins/timecontrol
parent887adb8a4498cf2537919d863a2554e4be379249 (diff)
downloadtderadio-269551cf8e80ed83b626bb793f0f9f15b5f2809c.tar.gz
tderadio-269551cf8e80ed83b626bb793f0f9f15b5f2809c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/timecontrol')
-rw-r--r--plugins/timecontrol/timecontrol-configuration.cpp46
-rw-r--r--plugins/timecontrol/timecontrol.cpp4
2 files changed, 25 insertions, 25 deletions
diff --git a/plugins/timecontrol/timecontrol-configuration.cpp b/plugins/timecontrol/timecontrol-configuration.cpp
index db3a760..6183f7a 100644
--- a/plugins/timecontrol/timecontrol-configuration.cpp
+++ b/plugins/timecontrol/timecontrol-configuration.cpp
@@ -55,29 +55,29 @@ TimeControlConfiguration::TimeControlConfiguration (TQWidget *parent)
m_dirty(false)
{
- TQObject::connect(checkboxAlarmDaily, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotDailyChanged(bool)));
- TQObject::connect(listWeekdays, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotWeekdaysChanged()));
- TQObject::connect(checkboxAlarmEnable, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotEnabledChanged(bool)));
- TQObject::connect(comboStationSelection, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotStationChanged(int)));
- TQObject::connect(listAlarms, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotAlarmSelectChanged(int)));
- TQObject::connect(editAlarmDate, TQT_SIGNAL(valueChanged(const TQDate &)), this, TQT_SLOT(slotDateChanged(const TQDate &)));
- TQObject::connect(editAlarmTime, TQT_SIGNAL(valueChanged(const TQTime &)), this, TQT_SLOT(slotTimeChanged(const TQTime &)));
- TQObject::connect(editAlarmVolume, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotVolumeChanged(int)));
- TQObject::connect(buttonAlarmNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewAlarm()));
- TQObject::connect(buttonDeleteAlarm, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeleteAlarm()));
- TQObject::connect(comboAlarmType, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotAlarmTypeChanged(int)));
-
- TQObject::connect(checkboxAlarmDaily, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(listWeekdays, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(checkboxAlarmEnable, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(comboStationSelection, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(editAlarmDate, TQT_SIGNAL(valueChanged(const TQDate &)), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(editAlarmTime, TQT_SIGNAL(valueChanged(const TQTime &)), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(editAlarmVolume, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(buttonAlarmNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(buttonDeleteAlarm, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(comboAlarmType, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetDirty()));
- TQObject::connect(editSleep, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSetDirty()));
+ TQObject::connect(checkboxAlarmDaily, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotDailyChanged(bool)));
+ TQObject::connect(listWeekdays, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotWeekdaysChanged()));
+ TQObject::connect(checkboxAlarmEnable, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotEnabledChanged(bool)));
+ TQObject::connect(comboStationSelection, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotStationChanged(int)));
+ TQObject::connect(listAlarms, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotAlarmSelectChanged(int)));
+ TQObject::connect(editAlarmDate, TQ_SIGNAL(valueChanged(const TQDate &)), this, TQ_SLOT(slotDateChanged(const TQDate &)));
+ TQObject::connect(editAlarmTime, TQ_SIGNAL(valueChanged(const TQTime &)), this, TQ_SLOT(slotTimeChanged(const TQTime &)));
+ TQObject::connect(editAlarmVolume, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotVolumeChanged(int)));
+ TQObject::connect(buttonAlarmNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewAlarm()));
+ TQObject::connect(buttonDeleteAlarm, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeleteAlarm()));
+ TQObject::connect(comboAlarmType, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotAlarmTypeChanged(int)));
+
+ TQObject::connect(checkboxAlarmDaily, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(listWeekdays, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(checkboxAlarmEnable, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(comboStationSelection, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(editAlarmDate, TQ_SIGNAL(valueChanged(const TQDate &)), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(editAlarmTime, TQ_SIGNAL(valueChanged(const TQTime &)), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(editAlarmVolume, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(buttonAlarmNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(buttonDeleteAlarm, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(comboAlarmType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetDirty()));
+ TQObject::connect(editSleep, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSetDirty()));
}
TimeControlConfiguration::~TimeControlConfiguration ()
diff --git a/plugins/timecontrol/timecontrol.cpp b/plugins/timecontrol/timecontrol.cpp
index 1b56ff0..a5eaeeb 100644
--- a/plugins/timecontrol/timecontrol.cpp
+++ b/plugins/timecontrol/timecontrol.cpp
@@ -51,8 +51,8 @@ TimeControl::TimeControl (const TQString &n)
m_alarmTimer(this),
m_countdownTimer(this)
{
- TQObject::connect(&m_alarmTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotQTimerAlarmTimeout()));
- TQObject::connect(&m_countdownTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotQTimerCountdownTimeout()));
+ TQObject::connect(&m_alarmTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotQTimerAlarmTimeout()));
+ TQObject::connect(&m_countdownTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotQTimerCountdownTimeout()));
}