diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:04 -0600 |
commit | 6df9eac4b9928768bf0c3dc988bac1c0c1fbb685 (patch) | |
tree | e9c9e6486689b74eac0c7c4af8e910df3942fa31 /kradio3/plugins/timecontrol/timecontrol.cpp | |
parent | 5fb78f4b68672906005b059e7e5066c702bc5c90 (diff) | |
download | tderadio-6df9eac4b9928768bf0c3dc988bac1c0c1fbb685.tar.gz tderadio-6df9eac4b9928768bf0c3dc988bac1c0c1fbb685.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 5fb78f4b68672906005b059e7e5066c702bc5c90.
Diffstat (limited to 'kradio3/plugins/timecontrol/timecontrol.cpp')
-rw-r--r-- | kradio3/plugins/timecontrol/timecontrol.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kradio3/plugins/timecontrol/timecontrol.cpp b/kradio3/plugins/timecontrol/timecontrol.cpp index e5f99cf..276e602 100644 --- a/kradio3/plugins/timecontrol/timecontrol.cpp +++ b/kradio3/plugins/timecontrol/timecontrol.cpp @@ -102,7 +102,7 @@ bool TimeControl::setCountdownSeconds(int n) bool TimeControl::startCountdown() { - m_countdownEnd = TQDateTime::currentDateTime().addSecs(m_countdownSeconds); + m_countdownEnd = TQDateTime::tqcurrentDateTime().addSecs(m_countdownSeconds); m_countdownTimer.start(m_countdownSeconds * 1000, true); notifyCountdownStarted(getCountdownEnd()); @@ -134,7 +134,7 @@ TQDateTime TimeControl::getNextAlarmTime() const const Alarm *TimeControl::getNextAlarm () const { - TQDateTime now = TQDateTime::currentDateTime(), + TQDateTime now = TQDateTime::tqcurrentDateTime(), next; const Alarm *retval = NULL; @@ -180,7 +180,7 @@ void TimeControl::slotQTimerAlarmTimeout() notifyAlarm(*m_waitingFor); } - TQDateTime now = TQDateTime::currentDateTime(); + TQDateTime now = TQDateTime::tqcurrentDateTime(); Alarm const *n = getNextAlarm(); TQDateTime na = getNextAlarmTime(); |