KCalCore Library
calfilter.cpp
Go to the documentation of this file.
This file is part of the API for handling calendar data and defines the CalFilter class.
QStringList categoryList() const
Returns the category list for this filter.
Definition: calfilter.cpp:250
void apply(Event::List *eventList) const
Applies the filter to a list of Events.
Definition: calfilter.cpp:87
void setCompletedTimeSpan(int timespan)
Sets the number of days for the HideCompletedTodos criteria.
Definition: calfilter.cpp:265
bool operator==(const CalFilter &filter) const
Compares this with filter for equality.
Definition: calfilter.cpp:78
void setCriteria(int criteria)
Sets the criteria which must be fulfilled for an Incidence to pass the filter.
Definition: calfilter.cpp:235
void setCategoryList(const QStringList &categoryList)
Sets the list of categories to be considered when filtering incidences according to the ShowCategorie...
Definition: calfilter.cpp:245
void setEmailList(const QStringList &emailList)
Sets the list of email addresses to be considered when filtering incidences according ot the HideNoMa...
Definition: calfilter.cpp:255
CalFilter()
Constructs an empty filter – a filter without a name or criteria.
Definition: calfilter.cpp:63
bool filterIncidence(Incidence::Ptr incidence) const
Applies the filter criteria to the specified Incidence.
Definition: calfilter.cpp:136
int completedTimeSpan() const
Returns the completed time span for this filter.
Definition: calfilter.cpp:270
Attendee::List attendees() const
Returns a list of incidence attendees.
Definition: incidencebase.cpp:483
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.