22 #ifndef KCAL_CALFILTER_H
23 #define KCAL_CALFILTER_H
26 #include <tqptrlist.h>
31 #include "libkcal_export.h"
51 void setName(
const TQString &name ) { mName = name; }
55 TQString
name()
const {
return mName; }
79 bool filterIncidence(
Incidence * )
const;
84 void setEnabled(
bool );
88 bool isEnabled()
const;
96 void setCategoryList(
const TQStringList & );
101 TQStringList categoryList()
const;
108 void setEmailList(
const TQStringList & );
115 TQStringList emailList()
const;
117 enum { HideRecurring = 1, HideCompleted = 2, ShowCategories = 4,
118 HideInactiveTodos = 8, HideTodosWithoutAttendeeInEmailList = 16 };
123 void setCriteria(
int );
127 int criteria()
const;
134 void setCompletedTimeSpan(
int timespan );
139 int completedTimeSpan()
const;
148 TQStringList mCategoryList;
149 TQStringList mEmailList;
150 int mCompletedTimeSpan;
Filter for calendar objects.
This class provides the base class common to all calendar components.
TQString name() const
Return name of filter.
void setName(const TQString &name)
Set name of filter.