summaryrefslogtreecommitdiffstats
path: root/korganizer/datechecker.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /korganizer/datechecker.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'korganizer/datechecker.cpp')
-rw-r--r--korganizer/datechecker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/datechecker.cpp b/korganizer/datechecker.cpp
index c311743eb..7d7cdedbe 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::tqcurrentDate();
+ mLastDayChecked = TQDate::currentDate();
}
mUpdateRollover = r;
}
void DateChecker::passedMidnight()
{
- TQDate today = TQDate::tqcurrentDate();
+ TQDate today = TQDate::currentDate();
if ( today.month() != mLastDayChecked.month() ) {
if ( mUpdateRollover == FollowMonth ) {
@@ -78,9 +78,9 @@ void DateChecker::passedMidnight()
void DateChecker::possiblyPastMidnight()
{
- if ( mLastDayChecked != TQDate::tqcurrentDate() ) {
+ if ( mLastDayChecked != TQDate::currentDate() ) {
passedMidnight();
- mLastDayChecked = TQDate::tqcurrentDate();
+ mLastDayChecked = TQDate::currentDate();
}
// Set the timer to go off 1 second after midnight
// or after 8 minutes, whichever comes first.