libs/flake

KoShapeShadowCommand Class Reference

The undo / redo command for setting the shape shadow. More...

#include <KoShapeShadowCommand.h>

Inheritance diagram for KoShapeShadowCommand:

List of all members.

Public Member Functions

 KoShapeShadowCommand (KoShape *shape, KoShapeShadow *shadow, QUndoCommand *parent=0)
 KoShapeShadowCommand (const QList< KoShape * > &shapes, const QList< KoShapeShadow * > &shadows, QUndoCommand *parent=0)
 KoShapeShadowCommand (const QList< KoShape * > &shapes, KoShapeShadow *shadow, QUndoCommand *parent=0)
virtual ~KoShapeShadowCommand ()
void redo ()
void undo ()

Detailed Description

The undo / redo command for setting the shape shadow.

Definition at line 31 of file KoShapeShadowCommand.h.


Constructor & Destructor Documentation

KoShapeShadowCommand::KoShapeShadowCommand ( const QList< KoShape * > &  shapes,
KoShapeShadow shadow,
QUndoCommand parent = 0 
)

Command to set a new shape shadow.

Parameters:
shapes a set of all the shapes that should get the new shadow.
shadow the new shadow, the same for all given shapes
parent the parent command used for macro commands

Definition at line 56 of file KoShapeShadowCommand.cpp.

KoShapeShadowCommand::KoShapeShadowCommand ( const QList< KoShape * > &  shapes,
const QList< KoShapeShadow * > &  shadows,
QUndoCommand parent = 0 
)

Command to set new shape shadows.

Parameters:
shapes a set of all the shapes that should get a new shadow.
shadows the new shadows, one for each shape
parent the parent command used for macro commands

Definition at line 70 of file KoShapeShadowCommand.cpp.

KoShapeShadowCommand::KoShapeShadowCommand ( KoShape shape,
KoShapeShadow shadow,
QUndoCommand parent = 0 
)

Command to set a new shape shadow.

Parameters:
shape a single shape that should get the new shadow.
shadow the new shadow
parent the parent command used for macro commands

Definition at line 87 of file KoShapeShadowCommand.cpp.

KoShapeShadowCommand::~KoShapeShadowCommand (  )  [virtual]

Definition at line 98 of file KoShapeShadowCommand.cpp.


Member Function Documentation

void KoShapeShadowCommand::redo (  ) 

redo the command

Reimplemented from QUndoCommand.

Definition at line 103 of file KoShapeShadowCommand.cpp.

void KoShapeShadowCommand::undo (  ) 

revert the actions done in redo

Reimplemented from QUndoCommand.

Definition at line 115 of file KoShapeShadowCommand.cpp.


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