libs/flake

KoEventActionFactory Class Reference

#include <KoEventActionFactory.h>

List of all members.

Public Member Functions

 KoEventActionFactory (const QString &id, const QString &action=QString(""))
virtual ~KoEventActionFactory ()
const QStringaction ()
virtual KoEventActioncreateEventAction ()=0
virtual KoEventActionWidgetcreateOptionWidget ()=0
const QStringid () const

Detailed Description

Definition at line 30 of file KoEventActionFactory.h.


Constructor & Destructor Documentation

KoEventActionFactory::KoEventActionFactory ( const QString id,
const QString action = QString("") 
) [explicit]

Factory to create events.

Parameters:
id The id of the event action
action Only presentation event actions need to set the action. It is not used for script event actions.

Definition at line 33 of file KoEventActionFactory.cpp.

KoEventActionFactory::~KoEventActionFactory (  )  [virtual]

Definition at line 38 of file KoEventActionFactory.cpp.


Member Function Documentation

const QString & KoEventActionFactory::action (  ) 

The action is used to differentiate presentation effects.

Definition at line 43 of file KoEventActionFactory.cpp.

virtual KoEventAction* KoEventActionFactory::createEventAction (  )  [pure virtual]

Create the event action.

virtual KoEventActionWidget* KoEventActionFactory::createOptionWidget (  )  [pure virtual]

Create the widget to configure the action.

const QString & KoEventActionFactory::id (  )  const

return the id for the variable this factory creates.

Returns:
the id for the variable this factory creates.

Definition at line 48 of file KoEventActionFactory.cpp.


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