-rw-r--r-- | libkcal/freebusy.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libkcal/freebusy.h b/libkcal/freebusy.h index d741c72..bd14cb7 100644 --- a/libkcal/freebusy.h +++ b/libkcal/freebusy.h | |||
@@ -24,8 +24,10 @@ | |||
24 | // | 24 | // |
25 | 25 | ||
26 | #include <qdatetime.h> | 26 | #include <qdatetime.h> |
27 | #include <qvaluelist.h> | 27 | #include <q3valuelist.h> |
28 | #include <qptrlist.h> | 28 | #include <q3ptrlist.h> |
29 | //Added by qt3to4: | ||
30 | #include <Q3CString> | ||
29 | 31 | ||
30 | #include "period.h" | 32 | #include "period.h" |
31 | #include "calendar.h" | 33 | #include "calendar.h" |
@@ -43,17 +45,17 @@ class FreeBusy : public IncidenceBase | |||
43 | FreeBusy(); | 45 | FreeBusy(); |
44 | FreeBusy(const QDateTime &start, const QDateTime &end); | 46 | FreeBusy(const QDateTime &start, const QDateTime &end); |
45 | FreeBusy(Calendar *calendar, const QDateTime &start, const QDateTime &end); | 47 | FreeBusy(Calendar *calendar, const QDateTime &start, const QDateTime &end); |
46 | FreeBusy(QValueList<Period> busyPeriods); | 48 | FreeBusy(Q3ValueList<Period> busyPeriods); |
47 | 49 | ||
48 | ~FreeBusy(); | 50 | ~FreeBusy(); |
49 | 51 | ||
50 | QCString type() const { return "FreeBusy"; } | 52 | Q3CString type() const { return "FreeBusy"; } |
51 | IncTypeID typeID() const { return freebusyID; } | 53 | IncTypeID typeID() const { return freebusyID; } |
52 | 54 | ||
53 | virtual QDateTime dtEnd() const; | 55 | virtual QDateTime dtEnd() const; |
54 | bool setDtEnd( const QDateTime &end ); | 56 | bool setDtEnd( const QDateTime &end ); |
55 | 57 | ||
56 | QValueList<Period> busyPeriods() const; | 58 | Q3ValueList<Period> busyPeriods() const; |
57 | 59 | ||
58 | void addPeriod(const QDateTime &start, const QDateTime &end); | 60 | void addPeriod(const QDateTime &start, const QDateTime &end); |
59 | void sortList(); | 61 | void sortList(); |
@@ -64,7 +66,7 @@ class FreeBusy : public IncidenceBase | |||
64 | bool addLocalPeriod(const QDateTime &start, const QDateTime &end); | 66 | bool addLocalPeriod(const QDateTime &start, const QDateTime &end); |
65 | 67 | ||
66 | QDateTime mDtEnd; | 68 | QDateTime mDtEnd; |
67 | QValueList<Period> mBusyPeriods; | 69 | Q3ValueList<Period> mBusyPeriods; |
68 | Calendar *mCalendar; | 70 | Calendar *mCalendar; |
69 | }; | 71 | }; |
70 | 72 | ||