libkcal
KCal::CalFilter Class Reference
#include <calfilter.h>
Detailed Description
Filter for calendar objects.
Definition at line 38 of file calfilter.h.
Public Types | |
enum | { HideRecurring = 1, HideCompleted = 2, ShowCategories = 4, HideInactiveTodos = 8, HideTodosWithoutAttendeeInEmailList = 16 } |
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 | setEmailList (const QStringList &) |
QStringList | emailList () const |
void | setCriteria (int) |
int | criteria () const |
void | setCompletedTimeSpan (int timespan) |
int | completedTimeSpan () const |
Constructor & Destructor Documentation
|
Construct filter.
Definition at line 30 of file calfilter.cpp. |
|
Construct filter with name.
Definition at line 37 of file calfilter.cpp. |
|
Destruct filter.
Definition at line 45 of file calfilter.cpp. |
Member Function Documentation
|
Apply filter to todolist, all todos not matching filter criterias are removed from the list.
Definition at line 86 of file calfilter.cpp. |
|
Apply filter to todolist, all todos not matching filter criterias are removed from the list.
Definition at line 68 of file calfilter.cpp. |
|
Apply filter to eventlist, all events not matching filter criterias are removed from the list.
Definition at line 49 of file calfilter.cpp. |
|
Return category list, used for showing/hiding categories of events. See related functions. Definition at line 203 of file calfilter.cpp. |
|
Return the number of days for "Hide completed todos", after which todos are not shown any more.
Definition at line 223 of file calfilter.cpp. |
|
Get inclusive filter criteria.
Definition at line 193 of file calfilter.cpp. |
|
Return list of email addresses which are to be considered when finding incidences which the current user is not a participant of. This is normally the list used by KOPrefs::thatIsMe() as well. See related functions. Definition at line 213 of file calfilter.cpp. |
|
Apply filter criteria on the specified incidence. Return true, if event passes criteria, otherwise return false. Definition at line 100 of file calfilter.cpp. |
|
Return wheter the filter is enabled or not.
Definition at line 183 of file calfilter.cpp. |
|
Return name of filter.
Definition at line 55 of file calfilter.h. |
|
Set list of categories, which is used for showing/hiding categories of events. See related functions. Definition at line 198 of file calfilter.cpp. |
|
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. Definition at line 218 of file calfilter.cpp. |
|
Set criteria, which have to be fulfilled by events passing the filter.
Definition at line 188 of file calfilter.cpp. |
|
Set list of email addresses which are to be considered when finding incidences which the current user is not a participant of. This is normally the list used by KOPrefs::thatIsMe() as well. Definition at line 208 of file calfilter.cpp. |
|
Enable or disable filter.
Definition at line 178 of file calfilter.cpp. |
|
Set name of filter.
Definition at line 51 of file calfilter.h. |
The documentation for this class was generated from the following files: