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/calendar.h') diff --git a/libkcal/calendar.h b/libkcal/calendar.h index fbc40ad..5845f44 100644 --- a/libkcal/calendar.h +++ b/libkcal/calendar.h @@ -25,8 +25,8 @@ #include #include #include -#include -#include +#include +#include #include "customproperties.h" #include "event.h" @@ -88,7 +88,7 @@ public: Sync changes in memory to persistant storage. */ virtual void save() = 0; - virtual QPtrList getExternLastSyncEvents() = 0; + virtual Q3PtrList getExternLastSyncEvents() = 0; virtual void removeSyncInfo( QString syncProfile) = 0; virtual bool isSaving() { return false; } @@ -155,12 +155,12 @@ public: /** Return filtered list of all incidences of this calendar. */ - virtual QPtrList incidences(); + virtual Q3PtrList incidences(); /** Return unfiltered list of all incidences of this calendar. */ - virtual QPtrList rawIncidences(); + virtual Q3PtrList rawIncidences(); /** Adds a Event to this calendar object. @@ -185,27 +185,27 @@ public: date specified. useful for dayView, etc. etc. The calendar filter is applied. */ - QPtrList events( const QDate &date, bool sorted = false); + Q3PtrList events( const QDate &date, bool sorted = false); /** Get events, which occur on the given date. The calendar filter is applied. */ - QPtrList events( const QDateTime &qdt ); + Q3PtrList events( const QDateTime &qdt ); /** Get events in a range of dates. If inclusive is set to true, only events are returned, which are completely included in the range. The calendar filter is applied. */ - QPtrList events( const QDate &start, const QDate &end, + Q3PtrList events( const QDate &start, const QDate &end, bool inclusive = false); /** Return filtered list of all events in calendar. */ - virtual QPtrList events(); + virtual Q3PtrList events(); /** Return unfiltered list of all events in calendar. */ - virtual QPtrList rawEvents() = 0; + virtual Q3PtrList rawEvents() = 0; /** Add a todo to the todolist. @@ -222,7 +222,7 @@ public: /** Return filterd list of todos. */ - virtual QPtrList todos(); + virtual Q3PtrList todos(); /** Searches todolist for an event with this unique string identifier, returns a pointer or null. @@ -232,11 +232,11 @@ public: /** Returns list of todos due on the specified date. */ - virtual QPtrList todos( const QDate &date ) = 0; + virtual Q3PtrList todos( const QDate &date ) = 0; /** Return unfiltered list of todos. */ - virtual QPtrList rawTodos() = 0; + virtual Q3PtrList rawTodos() = 0; /** Add a Journal entry to calendar. @@ -248,7 +248,7 @@ public: Return Journal for given date. */ virtual Journal *journal( const QDate & ) = 0; - virtual QPtrList journals4Date( const QDate & ) = 0; + virtual Q3PtrList journals4Date( const QDate & ) = 0; /** Return Journal with given UID. */ @@ -256,7 +256,7 @@ public: /** Return list of all Journal entries. */ - virtual QPtrList journals() = 0; + virtual Q3PtrList journals() = 0; /** Searches all incidence types for an incidence with this unique @@ -335,17 +335,17 @@ public: /** Get unfiltered events, which occur on the given date. */ - virtual QPtrList rawEventsForDate( const QDateTime &qdt ) = 0; + virtual Q3PtrList rawEventsForDate( const QDateTime &qdt ) = 0; /** Get unfiltered events, which occur on the given date. */ - virtual QPtrList rawEventsForDate( const QDate &date, + virtual Q3PtrList rawEventsForDate( const QDate &date, bool sorted = false ) = 0; /** Get events in a range of dates. If inclusive is set to true, only events are returned, which are completely included in the range. */ - virtual QPtrList rawEvents( const QDate &start, const QDate &end, + virtual Q3PtrList rawEvents( const QDate &start, const QDate &end, bool inclusive = false ) = 0; Incidence *mNextAlarmIncidence; @@ -376,8 +376,8 @@ private: QString mLoadedProductId; // This list is used to put together related todos - QDict mOrphans; - QDict mOrphanUids; + Q3Dict mOrphans; + Q3Dict mOrphanUids; }; } -- cgit v0.9.0.2