KCalCore Library
occurrenceiterator.cpp
Go to the documentation of this file.
Incidence::Ptr incidence() const
Returns either main incidence or exception, depending on occurrence.
Definition: occurrenceiterator.cpp:236
virtual Incidence::List instances(const Incidence::Ptr &incidence) const
Returns an unfiltered list of all exceptions of this recurring incidence.
@ RoleRecurrenceStart
Role for determining the start of the recurrence.
Definition: incidencebase.h:147
virtual Journal::List rawJournals(JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending) const =0
Returns a sorted, unfiltered list of all Journals for this Calendar.
static Incidence::List mergeIncidenceList(const Event::List &events, const Todo::List &todos, const Journal::List &journals)
Create a merged list of Events, Todos, and Journals.
Definition: calendar.cpp:1348
KDateTime occurrenceStartDate() const
Returns the start date of the occurrence.
Definition: occurrenceiterator.cpp:241
virtual Todo::List rawTodos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending) const =0
Returns a sorted, unfiltered list of all Todos for this Calendar.
void apply(Event::List *eventList) const
Applies the filter to a list of Events.
Definition: calfilter.cpp:87
OccurrenceIterator(const Calendar &calendar, const KDateTime &start=KDateTime(), const KDateTime &end=KDateTime())
Creates iterator that iterates over all occurrences of all incidences between.
Definition: occurrenceiterator.cpp:173
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition: occurrenceiterator.cpp:157
Iterate over calendar items in a calendar.
Definition: occurrenceiterator.h:47
virtual Event::List rawEvents(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending) const =0
Returns a sorted, unfiltered list of all Events for this Calendar.
virtual Todo::Ptr todo(const QString &uid, const KDateTime &recurrenceId=KDateTime()) const =0
Returns the Todo associated with the given unique identifier.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.