KCalCore Library
calfilter.cpp
Go to the documentation of this file.
Show incidences with at least one matching category.
Definition: calfilter.h:64
typedef Iterator
bool filterIncidence(Incidence::Ptr incidence) const
Applies the filter criteria to the specified Incidence.
Definition: calfilter.cpp:136
iterator begin()
void setCategoryList(const QStringList &categoryList)
Sets the list of categories to be considered when filtering incidences according to the ShowCategorie...
Definition: calfilter.cpp:245
iterator erase(iterator begin, iterator end)
Remove to-dos that haven't started yet.
Definition: calfilter.h:65
int completedTimeSpan() const
Returns the completed time span for this filter.
Definition: calfilter.cpp:270
typedef ConstIterator
void setCompletedTimeSpan(int timespan)
Sets the number of days for the HideCompletedTodos criteria.
Definition: calfilter.cpp:265
QStringList categoryList() const
Returns the category list for this filter.
Definition: calfilter.cpp:250
Remove to-dos without a matching attendee.
Definition: calfilter.h:66
void apply(Event::List *eventList) const
Applies the filter to a list of Events.
Definition: calfilter.cpp:87
CalFilter()
Constructs an empty filter – a filter without a name or criteria.
Definition: calfilter.cpp:63
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
bool operator==(const CalFilter &filter) const
Compares this with filter for equality.
Definition: calfilter.cpp:78
typedef ConstIterator
void setCriteria(int criteria)
Sets the criteria which must be fulfilled for an Incidence to pass the filter.
Definition: calfilter.cpp:235
const_iterator constEnd() const
const_iterator constBegin() const
This file is part of the API for handling calendar data and defines the CalFilter class...
iterator end()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.