summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/fbrecurring.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 /libkcal/tests/fbrecurring.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 'libkcal/tests/fbrecurring.cpp')
-rw-r--r--libkcal/tests/fbrecurring.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkcal/tests/fbrecurring.cpp b/libkcal/tests/fbrecurring.cpp
index 3ea9a03aa..be70a7c8d 100644
--- a/libkcal/tests/fbrecurring.cpp
+++ b/libkcal/tests/fbrecurring.cpp
@@ -13,39 +13,39 @@ int main()
{
ICalFormat f;
- CalendarLocal cal( QString::fromLatin1("UTC") );
+ CalendarLocal cal( TQString::fromLatin1("UTC") );
Event *event1 = new Event;
event1->setSummary("A");
- event1->setDtStart( QDateTime(QDate(2006,1,1), QTime(12,0,0)) );
+ event1->setDtStart( TQDateTime(TQDate(2006,1,1), TQTime(12,0,0)) );
//event1->setDuration(60*60);
- event1->setDtEnd( QDateTime(QDate(2006,1,1), QTime(13,0,0)) );
+ event1->setDtEnd( TQDateTime(TQDate(2006,1,1), TQTime(13,0,0)) );
event1->setFloats(FALSE);
event1->recurrence()->setDaily( 1 );
//event1->recurrence()->setDuration( 2 );
- event1->recurrence()->setEndDateTime( QDateTime(QDate(2006,1,3), QTime(13,0,0)) );
+ event1->recurrence()->setEndDateTime( TQDateTime(TQDate(2006,1,3), TQTime(13,0,0)) );
cout << f.toICalString(event1).latin1() << endl;
cal.addEvent(event1);
Event *event2 = new Event;
event2->setSummary("B");
- event2->setDtStart( QDateTime(QDate(2006,1,1), QTime(13,0,0)) );
+ event2->setDtStart( TQDateTime(TQDate(2006,1,1), TQTime(13,0,0)) );
//event2->setDuration(60*60);
- event2->setDtEnd( QDateTime(QDate(2006,1,1), QTime(14,0,0)) );
+ event2->setDtEnd( TQDateTime(TQDate(2006,1,1), TQTime(14,0,0)) );
event2->setFloats(FALSE);
event2->recurrence()->setDaily( 1 );
//event2->recurrence()->setDuration( 3 );
- event2->recurrence()->setEndDateTime( QDateTime(QDate(2006,1,4), QTime(13,0,0)) );
+ event2->recurrence()->setEndDateTime( TQDateTime(TQDate(2006,1,4), TQTime(13,0,0)) );
cout << f.toICalString(event2).latin1() << endl;
cal.addEvent(event2);
Calendar *c = &cal;
- QDateTime start = QDateTime(QDate(2006,1,2), QTime(0,0,0));
- QDateTime end = QDateTime(QDate(2006,1,3), QTime(0,0,0));
+ TQDateTime start = TQDateTime(TQDate(2006,1,2), TQTime(0,0,0));
+ TQDateTime end = TQDateTime(TQDate(2006,1,3), TQTime(0,0,0));
FreeBusy *freebusy = new FreeBusy( c, start, end );
- QString result = f.createScheduleMessage( freebusy, Scheduler::Publish );
+ TQString result = f.createScheduleMessage( freebusy, Scheduler::Publish );
cout << result.latin1() << endl;
return 0;