libs/flake

KoShapeSizeCommand Class Reference

The undo / redo command for shape sizing. More...

#include <KoShapeSizeCommand.h>

Inheritance diagram for KoShapeSizeCommand:

List of all members.

Public Member Functions

 KoShapeSizeCommand (const QList< KoShape * > &shapes, QList< QSizeF > &previousSizes, QList< QSizeF > &newSizes, QUndoCommand *parent=0)
 ~KoShapeSizeCommand ()
void redo ()
void undo ()

Detailed Description

The undo / redo command for shape sizing.

Definition at line 34 of file KoShapeSizeCommand.h.


Constructor & Destructor Documentation

KoShapeSizeCommand::KoShapeSizeCommand ( const QList< KoShape * > &  shapes,
QList< QSizeF > &  previousSizes,
QList< QSizeF > &  newSizes,
QUndoCommand parent = 0 
)

The undo / redo command for shape sizing.

Parameters:
shapes all the shapes that will be rezised at the same time
previousSizes the old sizes; in a list with a member for each shape
newSizes the new sizes; in a list with a member for each shape
parent the parent command used for macro commands

Definition at line 32 of file KoShapeSizeCommand.cpp.

KoShapeSizeCommand::~KoShapeSizeCommand (  ) 

Definition at line 45 of file KoShapeSizeCommand.cpp.


Member Function Documentation

void KoShapeSizeCommand::redo (  ) 

redo the command

Reimplemented from QUndoCommand.

Definition at line 50 of file KoShapeSizeCommand.cpp.

void KoShapeSizeCommand::undo (  ) 

revert the actions done in redo

Reimplemented from QUndoCommand.

Definition at line 61 of file KoShapeSizeCommand.cpp.


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