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/calendarlocal.h') diff --git a/libkcal/calendarlocal.h b/libkcal/calendarlocal.h index 1ceabce..1df65c7 100644 --- a/libkcal/calendarlocal.h +++ b/libkcal/calendarlocal.h @@ -23,6 +23,8 @@ #define KCAL_CALENDARLOCAL_H #include "calendar.h" +//Added by qt3to4: +#include namespace KCal { @@ -93,8 +95,8 @@ class CalendarLocal : public Calendar /** Return unfiltered list of all events in calendar. */ - QPtrList rawEvents(); - QPtrList getExternLastSyncEvents(); + Q3PtrList rawEvents(); + Q3PtrList getExternLastSyncEvents(); /** Add a todo to the todolist. */ @@ -112,17 +114,17 @@ class CalendarLocal : public Calendar /** Return list of all todos. */ - QPtrList rawTodos(); + Q3PtrList rawTodos(); /** Returns list of todos due on the specified date. */ - QPtrList todos( const QDate &date ); + Q3PtrList todos( const QDate &date ); /** Return list of all todos. Workaround because compiler does not recognize function of base class. */ - QPtrList todos() { return Calendar::todos(); } + Q3PtrList todos() { return Calendar::todos(); } /** Add a Journal entry to calendar. @@ -136,7 +138,7 @@ class CalendarLocal : public Calendar Return Journal for given date. */ Journal *journal( const QDate & ); - QPtrList journals4Date( const QDate & ); + Q3PtrList journals4Date( const QDate & ); /** Return Journal with given UID. */ @@ -144,7 +146,7 @@ class CalendarLocal : public Calendar /** Return list of all Journals stored in calendar. */ - QPtrList journals(); + Q3PtrList journals(); /** Return all alarms, which ocur in the given time interval. @@ -174,16 +176,16 @@ class CalendarLocal : public Calendar Builds and then returns a list of all events that match for the date specified. useful for dayView, etc. etc. */ - QPtrList rawEventsForDate( const QDate &date, bool sorted = false ); + Q3PtrList rawEventsForDate( const QDate &date, bool sorted = false ); /** Get unfiltered events for date \a qdt. */ - QPtrList rawEventsForDate( const QDateTime &qdt ); + Q3PtrList rawEventsForDate( const QDateTime &qdt ); /** Get unfiltered events in a range of dates. If inclusive is set to true, only events are returned, which are completely included in the range. */ - QPtrList rawEvents( const QDate &start, const QDate &end, + Q3PtrList rawEvents( const QDate &start, const QDate &end, bool inclusive = false ); Todo *todo( QString, QString ); Event *event( QString, QString ); @@ -224,9 +226,9 @@ public slots: private: void init(); - QPtrList mEventList; - QPtrList mTodoList; - QPtrList mJournalList; + Q3PtrList mEventList; + Q3PtrList mTodoList; + Q3PtrList mJournalList; }; } -- cgit v0.9.0.2