From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:50 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12. --- korganizer/datechecker.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'korganizer/datechecker.cpp') diff --git a/korganizer/datechecker.cpp b/korganizer/datechecker.cpp index 7d7cdedb..c311743e 100644 --- a/korganizer/datechecker.cpp +++ b/korganizer/datechecker.cpp @@ -59,14 +59,14 @@ void DateChecker::enableRollover( RolloverType r ) TQT_SLOT( possiblyPastMidnight() ) ); } mUpdateTimer->start( 0, true ); - mLastDayChecked = TQDate::currentDate(); + mLastDayChecked = TQDate::tqcurrentDate(); } mUpdateRollover = r; } void DateChecker::passedMidnight() { - TQDate today = TQDate::currentDate(); + TQDate today = TQDate::tqcurrentDate(); if ( today.month() != mLastDayChecked.month() ) { if ( mUpdateRollover == FollowMonth ) { @@ -78,9 +78,9 @@ void DateChecker::passedMidnight() void DateChecker::possiblyPastMidnight() { - if ( mLastDayChecked != TQDate::currentDate() ) { + if ( mLastDayChecked != TQDate::tqcurrentDate() ) { passedMidnight(); - mLastDayChecked = TQDate::currentDate(); + mLastDayChecked = TQDate::tqcurrentDate(); } // Set the timer to go off 1 second after midnight // or after 8 minutes, whichever comes first. -- cgit v1.2.3