kmail
KMFilterActionWithCommand Class Reference
Inheritance diagram for KMFilterActionWithCommand:

Detailed Description
Definition at line 559 of file kmfilteraction.h.
Public Member Functions | |
KMFilterActionWithCommand (const char *aName, const QString aLabel) | |
virtual QWidget * | createParamWidget (QWidget *parent) const |
virtual void | applyParamWidgetValue (QWidget *paramWidget) |
virtual void | setParamWidgetValue (QWidget *paramWidget) const |
virtual void | clearParamWidget (QWidget *paramWidget) const |
virtual QString | substituteCommandLineArgsFor (KMMessage *aMsg, QPtrList< KTempFile > &aTempFileList) const |
virtual ReturnCode | genericProcess (KMMessage *aMsg, bool filtering) const |
Constructor & Destructor Documentation
KMFilterActionWithCommand::KMFilterActionWithCommand | ( | const char * | aName, | |
const QString | aLabel | |||
) |
Initialize filter action with (english) name aName
.
This is the name under which this action is known in the config file.
Definition at line 390 of file kmfilteraction.cpp.
Member Function Documentation
QWidget * KMFilterActionWithCommand::createParamWidget | ( | QWidget * | parent | ) | const [virtual] |
Creates a widget for setting the filter action parameter.
Also sets the value of the widget.
Reimplemented from KMFilterActionWithUrl.
Definition at line 395 of file kmfilteraction.cpp.
void KMFilterActionWithCommand::applyParamWidgetValue | ( | QWidget * | paramWidget | ) | [virtual] |
The filter action shall set it's parameter from the widget's contents.
It is allowed that the value is read by the action before this function is called.
Reimplemented from KMFilterActionWithUrl.
Definition at line 400 of file kmfilteraction.cpp.
void KMFilterActionWithCommand::setParamWidgetValue | ( | QWidget * | paramWidget | ) | const [virtual] |
The filter action shall set it's widget's contents from it's parameter.
Reimplemented from KMFilterActionWithUrl.
Definition at line 405 of file kmfilteraction.cpp.
void KMFilterActionWithCommand::clearParamWidget | ( | QWidget * | paramWidget | ) | const [virtual] |
The filter action shall clear it's parameter widget's contents.
Reimplemented from KMFilterActionWithUrl.
Definition at line 410 of file kmfilteraction.cpp.
QString KMFilterActionWithCommand::substituteCommandLineArgsFor | ( | KMMessage * | aMsg, | |
QPtrList< KTempFile > & | aTempFileList | |||
) | const [virtual] |
Substitutes various placeholders for data from the message resp.
for filenames containing that data. Currently, only n is supported, where n in an integer >= 0. n gets substituted for the name of a tempfile holding the n'th message part, with n=0 meaning the body of the message.
Definition at line 415 of file kmfilteraction.cpp.
The documentation for this class was generated from the following files: