libs/flake

KoShapeKeepAspectRatioCommand Class Reference

Command that changes the keepAspectRatio property of KoShape. More...

#include <KoShapeKeepAspectRatioCommand.h>

Inheritance diagram for KoShapeKeepAspectRatioCommand:

List of all members.

Public Member Functions

 KoShapeKeepAspectRatioCommand (const QList< KoShape * > &shapes, const QList< bool > &oldKeepAspectRatio, const QList< bool > &newKeepAspectRatio, QUndoCommand *parent=0)
 ~KoShapeKeepAspectRatioCommand ()
virtual void redo ()
virtual void undo ()

Detailed Description

Command that changes the keepAspectRatio property of KoShape.

Definition at line 33 of file KoShapeKeepAspectRatioCommand.h.


Constructor & Destructor Documentation

KoShapeKeepAspectRatioCommand::KoShapeKeepAspectRatioCommand ( const QList< KoShape * > &  shapes,
const QList< bool > &  oldKeepAspectRatio,
const QList< bool > &  newKeepAspectRatio,
QUndoCommand parent = 0 
)

Constructor.

Parameters:
shapes the shapes affected by the command
oldKeepAspectRatio the old settings
newKeepAspectRatio the new settings
parent the parent command

Definition at line 26 of file KoShapeKeepAspectRatioCommand.cpp.

KoShapeKeepAspectRatioCommand::~KoShapeKeepAspectRatioCommand (  ) 

Definition at line 37 of file KoShapeKeepAspectRatioCommand.cpp.


Member Function Documentation

void KoShapeKeepAspectRatioCommand::redo (  )  [virtual]

Execute the command.

Reimplemented from QUndoCommand.

Definition at line 41 of file KoShapeKeepAspectRatioCommand.cpp.

void KoShapeKeepAspectRatioCommand::undo (  )  [virtual]

Unexecute the command.

Reimplemented from QUndoCommand.

Definition at line 49 of file KoShapeKeepAspectRatioCommand.cpp.


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