summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac/alarmdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/korgac/alarmdialog.cpp')
-rw-r--r--korganizer/korgac/alarmdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/korgac/alarmdialog.cpp b/korganizer/korgac/alarmdialog.cpp
index a1b436850..cd46bbe43 100644
--- a/korganizer/korgac/alarmdialog.cpp
+++ b/korganizer/korgac/alarmdialog.cpp
@@ -402,7 +402,7 @@ void AlarmDialog::suspend()
if ( item->isSelected() && item->isVisible() ) {
item->setVisible( false );
item->setSelected( false );
- item->mRemindAt = TQDateTime::tqcurrentDateTime().addSecs( unit * mSuspendSpin->value() );
+ item->mRemindAt = TQDateTime::currentDateTime().addSecs( unit * mSuspendSpin->value() );
item->mNotified = false;
selitem = item;
}
@@ -435,8 +435,8 @@ void AlarmDialog::setTimer()
int nextReminderAt = -1;
for ( TQListViewItemIterator it( mIncidenceListView ) ; it.current() ; ++it ) {
AlarmListItem * item = static_cast<AlarmListItem*>( it.current() );
- if ( item->mRemindAt > TQDateTime::tqcurrentDateTime() ) {
- int secs = TQDateTime::tqcurrentDateTime().secsTo( item->mRemindAt );
+ if ( item->mRemindAt > TQDateTime::currentDateTime() ) {
+ int secs = TQDateTime::currentDateTime().secsTo( item->mRemindAt );
nextReminderAt = nextReminderAt <= 0 ? secs : TQMIN( nextReminderAt, secs );
}
}
@@ -532,7 +532,7 @@ void AlarmDialog::wakeUp()
continue;
}
- if ( item->mRemindAt <= TQDateTime::tqcurrentDateTime() ) {
+ if ( item->mRemindAt <= TQDateTime::currentDateTime() ) {
if ( !item->isVisible() ) {
item->setVisible( true );
item->setSelected( false );