summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac/testalarmdlg.cpp
diff options
context:
space:
mode:
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();