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
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition occurrenceiterator.cpp:157
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.