libs/flake

KoEventAction Class Reference

This is the base class for actions that are executed on events. More...

#include <KoEventAction.h>

List of all members.

Public Member Functions

 KoEventAction (const QString &id)
virtual ~KoEventAction ()
virtual void execute (KoTool *tool)=0
virtual void finish (KoTool *tool)=0
const QStringid () const
virtual bool loadOdf (const KoXmlElement &element, KoShapeLoadingContext &context)=0
virtual void saveOdf (KoShapeSavingContext &context) const =0

Detailed Description

This is the base class for actions that are executed on events.

See ODF: 9.9 Presentation Events Many objects inside a presentation document support special presentation events. For example, a user can advance the presentation one frame when he clicks on an object with a corresponding event. Presentation events are contained with a graphic object's event listener table. See section 9.2.21 for details.

12.4 Event Listener Tables Many objects such as controls, images, text boxes, or an entire document support events. An event binds the occurrence of a particular condition to an action that is executed if the condition arises. For example, if a user places the cursor over a graphic, this condition triggers an action that is supported by the office application. This event, called "on-mouse-over", can be associated with a macro that is executed whenever the condition occurs, that is, whenever a user places the cursor over a graphic.

Definition at line 47 of file KoEventAction.h.


Constructor & Destructor Documentation

KoEventAction::KoEventAction ( const QString id  ) 

Definition at line 33 of file KoEventAction.cpp.

KoEventAction::~KoEventAction (  )  [virtual]

Definition at line 38 of file KoEventAction.cpp.


Member Function Documentation

virtual void KoEventAction::execute ( KoTool tool  )  [pure virtual]
virtual void KoEventAction::finish ( KoTool tool  )  [pure virtual]
const QString & KoEventAction::id (  )  const

Definition at line 43 of file KoEventAction.cpp.

virtual bool KoEventAction::loadOdf ( const KoXmlElement &  element,
KoShapeLoadingContext context 
) [pure virtual]
virtual void KoEventAction::saveOdf ( KoShapeSavingContext context  )  const [pure virtual]

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