KCal::CalFilter Class Reference
Filter for calendar objects. More...
#include <calfilter.h>
Public Types
- enum { HideRecurring = 1, HideCompleted = 2, ShowCategories = 4, HideInactiveTodos = 8 }
Public Member Functions
- CalFilter ()
- CalFilter (const QString &name)
- ~CalFilter ()
- void setName (const QString &name)
- QString name () const
- void apply (Event::List *eventlist) const
- void apply (Todo::List *todolist) const
- void apply (Journal::List *journallist) const
- bool filterIncidence (Incidence *) const
- void setEnabled (bool)
- bool isEnabled () const
- void setCategoryList (const QStringList &)
- QStringList categoryList () const
- void setCriteria (int)
- int criteria () const
- void setCompletedTimeSpan (int timespan)
- int completedTimeSpan () const
Detailed Description
Filter for calendar objects.
Constructor & Destructor Documentation
|
Construct filter.
|
|
Construct filter with name.
|
|
Destruct filter.
|
Member Function Documentation
|
Set name of filter.
|
|
Return name of filter.
|
|
Apply filter to eventlist, all events not matching filter criterias are removed from the list.
|
|
Apply filter to todolist, all todos not matching filter criterias are removed from the list.
|
|
Apply filter to todolist, all todos not matching filter criterias are removed from the list.
|
|
Apply filter criteria on the specified incidence. Return true, if event passes criteria, otherwise return false. |
|
Enable or disable filter.
|
|
Return wheter the filter is enabled or not.
|
|
Set list of categories, which is used for showing/hiding categories of events. See related functions. |
|
Return category list, used for showing/hiding categories of events. See related functions. |
|
Set criteria, which have to be fulfilled by events passing the filter.
|
|
Get inclusive filter criteria.
|
|
Set the number of days for "Hide completed todos", after which todos are not shown any more. If nothing is set explicitly, all finished todos will be hidden if the "hide completed todos" option is selected. |
|
Return the number of days for "Hide completed todos", after which todos are not shown any more.
|
The documentation for this class was generated from the following files:
- calfilter.h
- calfilter.cpp