KMFilterActionDict Class Reference
Dictionary that contains a list of all registered filter actions with their creation functions. List of known KMFilterAction-types. More...
#include <kmfilteraction.h>
Inherits QDict.
Public Member Functions
- void insert (KMFilterActionNewFunc aNewFunc)
- const QPtrList< KMFilterActionDesc > & list () const
Protected Member Functions
- virtual void init (void)
Detailed Description
Dictionary that contains a list of all registered filter actions with their creation functions. List of known KMFilterAction-types.They are hard-coded into the constructor. If you want to add a new
- See also:
- KMFilterAction, make sure you add the details of it in
init, too.
KMFilterActionDict dict; // get name of the action with label "move into folder": dict[i18n("move into folder")]->name; // == "transfer" // create one such action: KMFilterAction *action = dict["transfer"]->create();
You can iterate over all known filter actions by using
- See also:
- list.
- Author:
- Marc Mutz <Marc@Mutz.com>, based on work by Stefan Taferner <taferner@kde.org>
- See also:
- KMFilterAction KMFilterActionDesc KMFilter
Member Function Documentation
|
Overloaded member function, provided for convenience. Thin wrapper around
|
|
Provides read-only access to a list of all known filter actions.
|
|
Populate the dictionary with all known.
|
The documentation for this class was generated from the following files:
- kmfilteraction.h
- kmfilteraction.cpp