kmail

KMFilterActionWithCommand Class Reference

#include <kmfilteraction.h>

Inheritance diagram for KMFilterActionWithCommand:

List of all members.


Public Member Functions

virtual void applyParamWidgetValue (QWidget *paramWidget)
virtual void clearParamWidget (QWidget *paramWidget) const
virtual QWidgetcreateParamWidget (QWidget *parent) const
virtual ReturnCode genericProcess (KMMessage *aMsg, bool filtering) const
 KMFilterActionWithCommand (const char *aName, const QString aLabel)
virtual void setParamWidgetValue (QWidget *paramWidget) const
virtual QString substituteCommandLineArgsFor (KMMessage *aMsg, QPtrList< KTempFile > &aTempFileList) const

Detailed Description

Definition at line 559 of file kmfilteraction.h.


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 408 of file kmfilteraction.cpp.


Member Function Documentation

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 418 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 428 of file kmfilteraction.cpp.

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 413 of file kmfilteraction.cpp.

KMFilterAction::ReturnCode KMFilterActionWithCommand::genericProcess ( KMMessage aMsg,
bool  filtering 
) const [virtual]

Definition at line 504 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 423 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 433 of file kmfilteraction.cpp.


The documentation for this class was generated from the following files: