|OccurrenceIterator (const Calendar &calendar, const QDateTime &start=QDateTime(), const QDateTime &end=QDateTime())|
|OccurrenceIterator (const Calendar &calendar, const KCalendarCore::Incidence::Ptr &incidence, const QDateTime &start=QDateTime(), const QDateTime &end=QDateTime())|
|bool||hasNext () const|
|Incidence::Ptr||incidence () const|
|QDateTime||occurrenceStartDate () const|
|QDateTime||recurrenceId () const|
Iterate over calendar items in a calendar.
The iterator takes recurrences and exceptions to recurrences into account
The iterator does not iterate the occurrences of all incidences chronologically.
Constructor & Destructor Documentation
Creates iterator that iterates over all occurrences of all incidences between.
Private class that helps to provide binary compatibility between releases.
start and end (inclusive)
Right now there is little point in the iterator, but: With an iterator it should be possible to solve this more memory efficiently and with immediate results at the beginning of the selected timeframe. Either all events are iterated simoulatneously, resulting in occurrences of all events in parallel in the correct time-order, or incidence after incidence, which would be even more efficient.
By making this class a friend of calendar, we could also use the internally available data structures.
|OccurrenceIterator::OccurrenceIterator||(||const Calendar &||calendar,|
|const KCalendarCore::Incidence::Ptr &||incidence,|
|const QDateTime &||start =
|const QDateTime &||end =
Member Function Documentation
The documentation for this class was generated from the following files: