summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac/testalarmdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/korgac/testalarmdlg.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/korgac/testalarmdlg.cpp')
-rw-r--r--korganizer/korgac/testalarmdlg.cpp10
1 files changed, 5 insertions, 5 deletions
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 <qwidget.h>
+#include <tqwidget.h>
#include <kaboutdata.h>
#include <kapplication.h>
@@ -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();