libs/flake

KoFilterEffectFactory Class Reference

#include <KoFilterEffectFactory.h>

Inheritance diagram for KoFilterEffectFactory:

List of all members.

Public Member Functions

 KoFilterEffectFactory (QObject *parent, const QString &id, const QString &name)
virtual ~KoFilterEffectFactory ()
virtual
KoFilterEffectConfigWidgetBase
createConfigWidget () const =0
virtual KoFilterEffectcreateFilterEffect () const =0
QString id () const
QString name () const

Detailed Description

Definition at line 29 of file KoFilterEffectFactory.h.


Constructor & Destructor Documentation

KoFilterEffectFactory::KoFilterEffectFactory ( QObject parent,
const QString id,
const QString name 
)

Create the new factory.

Parameters:
parent the parent QObject for memory management usage.
id a string that will be used internally for referencing the filter effect
name the user visible name of the filter effect this factory creates

Definition at line 32 of file KoFilterEffectFactory.cpp.

KoFilterEffectFactory::~KoFilterEffectFactory (  )  [virtual]

Definition at line 37 of file KoFilterEffectFactory.cpp.


Member Function Documentation

virtual KoFilterEffectConfigWidgetBase* KoFilterEffectFactory::createConfigWidget (  )  const [pure virtual]

This method should be implemented by factories to create a filter effect config widget.

Returns:
the filter effect options widget
virtual KoFilterEffect* KoFilterEffectFactory::createFilterEffect (  )  const [pure virtual]

This method should be implemented by factories to create a filter effect.

Returns:
a new filter effect
QString KoFilterEffectFactory::id (  )  const

Returns the id for the filter this factory creates.

Returns:
the id for the filter this factory creates

Definition at line 47 of file KoFilterEffectFactory.cpp.

QString KoFilterEffectFactory::name (  )  const

Returns the user visible (and translated) name to be seen by the user.

Returns:
the user visible (and translated) name to be seen by the user

Definition at line 42 of file KoFilterEffectFactory.cpp.


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