summaryrefslogtreecommitdiffstats
path: root/kradio3/src/timecontrol_interfaces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/timecontrol_interfaces.cpp')
-rw-r--r--kradio3/src/timecontrol_interfaces.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kradio3/src/timecontrol_interfaces.cpp b/kradio3/src/timecontrol_interfaces.cpp
index f33422c..248fa47 100644
--- a/kradio3/src/timecontrol_interfaces.cpp
+++ b/kradio3/src/timecontrol_interfaces.cpp
@@ -30,7 +30,7 @@ IF_IMPL_SENDER ( ITimeControl::notifyAlarm(const Alarm &a),
IF_IMPL_SENDER ( ITimeControl::notifyNextAlarmChanged(const Alarm *a),
noticeNextAlarmChanged(a) )
-IF_IMPL_SENDER ( ITimeControl::notifyCountdownStarted(const QDateTime &end),
+IF_IMPL_SENDER ( ITimeControl::notifyCountdownStarted(const TQDateTime &end),
noticeCountdownStarted(end) )
IF_IMPL_SENDER ( ITimeControl::notifyCountdownStopped(),
@@ -57,33 +57,33 @@ IF_IMPL_SENDER ( ITimeControlClient::sendStopCountdown(),
stopCountdown() )
-IF_IMPL_QUERY ( QDateTime ITimeControlClient::queryNextAlarmTime (),
+IF_IMPL_TQUERY ( TQDateTime ITimeControlClient::queryNextAlarmTime (),
getNextAlarmTime(),
- QDateTime() )
+ TQDateTime() )
-IF_IMPL_QUERY ( const Alarm * ITimeControlClient::queryNextAlarm (),
+IF_IMPL_TQUERY ( const Alarm * ITimeControlClient::queryNextAlarm (),
getNextAlarm(),
NULL )
-IF_IMPL_QUERY ( const AlarmVector &ITimeControlClient::queryAlarms (),
+IF_IMPL_TQUERY ( const AlarmVector &ITimeControlClient::queryAlarms (),
getAlarms(),
emptyAlarms )
-IF_IMPL_QUERY ( int ITimeControlClient::queryCountdownSeconds (),
+IF_IMPL_TQUERY ( int ITimeControlClient::queryCountdownSeconds (),
getCountdownSeconds(),
30*60 )
-IF_IMPL_QUERY ( QDateTime ITimeControlClient::queryCountdownEnd (),
+IF_IMPL_TQUERY ( TQDateTime ITimeControlClient::queryCountdownEnd (),
getCountdownEnd(),
- QDateTime() )
+ TQDateTime() )
void ITimeControlClient::noticeConnectedI(cmplInterface *, bool /*pointer_valid*/)
{
noticeAlarmsChanged(queryAlarms());
noticeNextAlarmChanged(queryNextAlarm());
- QDateTime end = queryCountdownEnd();
- if (end > QDateTime::currentDateTime())
+ TQDateTime end = queryCountdownEnd();
+ if (end > TQDateTime::tqcurrentDateTime())
noticeCountdownStarted(end);
else
noticeCountdownStopped();
@@ -94,8 +94,8 @@ void ITimeControlClient::noticeDisconnectedI(cmplInterface *, bool /*pointer_val
{
noticeAlarmsChanged(queryAlarms());
noticeNextAlarmChanged(queryNextAlarm());
- QDateTime end = queryCountdownEnd();
- if (end > QDateTime::currentDateTime())
+ TQDateTime end = queryCountdownEnd();
+ if (end > TQDateTime::tqcurrentDateTime())
noticeCountdownStarted(end);
else
noticeCountdownStopped();