From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/korgac/testalarmdlg.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'korganizer/korgac/testalarmdlg.cpp') diff --git a/korganizer/korgac/testalarmdlg.cpp b/korganizer/korgac/testalarmdlg.cpp index 69352a175..84fa51ed6 100644 --- a/korganizer/korgac/testalarmdlg.cpp +++ b/korganizer/korgac/testalarmdlg.cpp @@ -22,7 +22,7 @@ without including the source code for Qt in the source distribution. */ -#include +#include #include #include @@ -41,7 +41,7 @@ int main(int argc,char **argv) Event *e1 = new Event; e1->setSummary( "This is a summary." ); - QDateTime now = QDateTime::currentDateTime(); + TQDateTime now = TQDateTime::currentDateTime(); e1->setDtStart( now ); e1->setDtEnd( now.addDays( 1 ) ); Alarm *a = e1->newAlarm(); @@ -61,9 +61,9 @@ int main(int argc,char **argv) AlarmDialog dlg; app.setMainWidget( &dlg ); - dlg.addIncidence( e1, QDateTime::currentDateTime() ); - dlg.addIncidence( t1, QDateTime::currentDateTime() ); - dlg.addIncidence( e2, QDateTime::currentDateTime() ); + dlg.addIncidence( e1, TQDateTime::currentDateTime() ); + dlg.addIncidence( t1, TQDateTime::currentDateTime() ); + dlg.addIncidence( e2, TQDateTime::currentDateTime() ); dlg.show(); dlg.eventNotification(); -- cgit v1.2.1