33 #ifndef __KMAIL_RULEWIDGETHANDLERMANAGER_H__
34 #define __KMAIL_RULEWIDGETHANDLERMANAGER_H__
36 #include "kmsearchpattern.h"
38 #include <tqvaluevector.h>
47 class RuleWidgetHandler;
68 void createWidgets( TQWidgetStack *functionStack,
69 TQWidgetStack *valueStack,
70 const TQObject *receiver )
const;
72 const TQWidgetStack *functionStack )
const;
73 TQString value(
const TQCString & field,
74 const TQWidgetStack *functionStack,
75 const TQWidgetStack *valueStack )
const;
76 TQString prettyValue(
const TQCString & field,
77 const TQWidgetStack *functionStack,
78 const TQWidgetStack *valueStack )
const;
79 bool handlesField(
const TQCString & field,
80 const TQWidgetStack *functionStack,
81 const TQWidgetStack *valueStack )
const;
82 void reset( TQWidgetStack *functionStack,
83 TQWidgetStack *valueStack )
const;
84 void setRule( TQWidgetStack *functionStack,
85 TQWidgetStack *valueStack,
87 void update(
const TQCString & field,
88 TQWidgetStack *functionStack,
89 TQWidgetStack *valueStack )
const;
92 typedef TQValueVector<const RuleWidgetHandler*>::const_iterator const_iterator;
93 typedef TQValueVector<const RuleWidgetHandler*>::iterator iterator;
95 TQValueVector<const RuleWidgetHandler*> mHandlers;
Incoming mail is sent through the list of mail filter rules before it is placed in the associated mai...
Function
Operators for comparison of field and contents.