33 #ifndef __KMAIL_INTERFACES_RULEWIDGETHANDLER_H__
34 #define __KMAIL_INTERFACES_RULEWIDGETHANDLER_H__
36 #include "../kmsearchpattern.h"
52 virtual TQWidget * createFunctionWidget( int number,
53 TQWidgetStack *functionStack,
54 const TQObject *receiver ) const = 0;
55 virtual TQWidget * createValueWidget( int number,
56 TQWidgetStack *valueStack,
57 const TQObject *receiver ) const = 0;
59 const TQWidgetStack *functionStack ) const = 0;
60 virtual TQString value( const TQCString & field,
61 const TQWidgetStack *functionStack,
62 const TQWidgetStack *valueStack ) const = 0;
63 virtual TQString prettyValue( const TQCString & field,
64 const TQWidgetStack *functionStack,
65 const TQWidgetStack *valueStack ) const = 0;
66 virtual bool handlesField( const TQCString & field ) const = 0;
67 virtual void reset( TQWidgetStack *functionStack,
68 TQWidgetStack *valueStack ) const = 0;
69 virtual bool setRule( TQWidgetStack *functionStack,
70 TQWidgetStack *valueStack,
72 virtual bool update( const TQCString & field,
73 TQWidgetStack *functionStack,
74 TQWidgetStack *valueStack ) const = 0;
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.
|