From a08aff328d4393031d5ba7d622c2b05705a89d73 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 04 Jul 2007 11:23:42 +0000 Subject: initial public commit of qt4 port --- (limited to 'libkcal/freebusy.cpp') diff --git a/libkcal/freebusy.cpp b/libkcal/freebusy.cpp index ba15d6d..e4e9ec9 100644 --- a/libkcal/freebusy.cpp +++ b/libkcal/freebusy.cpp @@ -21,6 +21,9 @@ #include #include "freebusy.h" +//Added by qt3to4: +#include +#include using namespace KCal; @@ -43,7 +46,7 @@ FreeBusy::FreeBusy( Calendar *calendar, const QDateTime &start, const QDateTime setDtEnd(end); //Gets all the events in the calendar - QPtrList eventList = mCalendar->events(); + Q3PtrList eventList = mCalendar->events(); Event *event; int extraDays, i, x, duration; @@ -113,7 +116,7 @@ QDateTime FreeBusy::dtEnd() const return mDtEnd; } -QValueList FreeBusy::busyPeriods() const +Q3ValueList FreeBusy::busyPeriods() const { return mBusyPeriods; } @@ -146,14 +149,14 @@ bool FreeBusy::addLocalPeriod(const QDateTime &eventStart, const QDateTime &even return true; } -FreeBusy::FreeBusy(QValueList busyPeriods) +FreeBusy::FreeBusy(Q3ValueList busyPeriods) { mBusyPeriods = busyPeriods; } void FreeBusy::sortList() { - typedef QValueList PeriodList; + typedef Q3ValueList PeriodList; PeriodList::Iterator tmpPeriod, earlyPeriod; PeriodList sortedList; -- cgit v0.9.0.2