summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac/testalarmdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /korganizer/korgac/testalarmdlg.cpp
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'korganizer/korgac/testalarmdlg.cpp')
-rw-r--r--korganizer/korgac/testalarmdlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/korgac/testalarmdlg.cpp b/korganizer/korgac/testalarmdlg.cpp
index 1d9159ae7..cd3f434f4 100644
--- a/korganizer/korgac/testalarmdlg.cpp
+++ b/korganizer/korgac/testalarmdlg.cpp
@@ -48,7 +48,7 @@ int main(int argc,char **argv)
Event *e1 = new Event;
e1->setSummary( "This is a summary." );
- TQDateTime now = TQDateTime::tqcurrentDateTime();
+ TQDateTime now = TQDateTime::currentDateTime();
e1->setDtStart( now );
e1->setDtEnd( now.addDays( 1 ) );
Alarm *a = e1->newAlarm();
@@ -97,19 +97,19 @@ int main(int argc,char **argv)
AlarmDialog dlg( mCalendar, 0 );
app.setMainWidget( &dlg );
- dlg.addIncidence( e2, TQDateTime::tqcurrentDateTime().addSecs( 60 ),
+ dlg.addIncidence( e2, TQDateTime::currentDateTime().addSecs( 60 ),
TQString() );
- dlg.addIncidence( t1, TQDateTime::tqcurrentDateTime().addSecs( 300 ),
+ dlg.addIncidence( t1, TQDateTime::currentDateTime().addSecs( 300 ),
TQString( "THIS IS DISPLAY TEXT" ) );
- dlg.addIncidence( e4, TQDateTime::tqcurrentDateTime().addSecs( 120 ),
+ dlg.addIncidence( e4, TQDateTime::currentDateTime().addSecs( 120 ),
TQString( "Fred and Barney get cloned" ) );
- dlg.addIncidence( e3, TQDateTime::tqcurrentDateTime().addSecs( 240 ),
+ dlg.addIncidence( e3, TQDateTime::currentDateTime().addSecs( 240 ),
TQString() );
- dlg.addIncidence( e1, TQDateTime::tqcurrentDateTime().addSecs( 180 ),
+ dlg.addIncidence( e1, TQDateTime::currentDateTime().addSecs( 180 ),
TQString() );
- dlg.addIncidence( t2, TQDateTime::tqcurrentDateTime().addSecs( 600 ),
+ dlg.addIncidence( t2, TQDateTime::currentDateTime().addSecs( 600 ),
TQString( "THIS IS DISPLAY TEXT" ) );
- dlg.addIncidence( t3, TQDateTime::tqcurrentDateTime().addSecs( 360 ),
+ dlg.addIncidence( t3, TQDateTime::currentDateTime().addSecs( 360 ),
TQString() );
dlg.show();
dlg.eventNotification();