22#ifndef KCAL_CALFILTER_H
23#define KCAL_CALFILTER_H
31#include "libkcal_export.h"
55 TQString name() const { return mName; }
61 void apply( Event::List *eventlist ) const;
67 void apply( Todo::List *todolist ) const;
73 void apply( Journal::List *journallist) const;
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;
TQString name() const Return name of filter.
CalFilter() Construct filter.
void setName(const TQString &name) Set name of filter.
This class provides the base class common to all calendar components.
Namespace KCal is for global classes, objects and/or functions in libkcal.
|