libs/flake

KoParameterToPathCommand Class Reference

The undo / redo command for changing a KoParameterShape into a KoPathShape. More...

#include <KoParameterToPathCommand.h>

Inheritance diagram for KoParameterToPathCommand:

List of all members.

Public Member Functions

 KoParameterToPathCommand (const QList< KoParameterShape * > &shapes, QUndoCommand *parent=0)
 KoParameterToPathCommand (KoParameterShape *shape, QUndoCommand *parent=0)
virtual ~KoParameterToPathCommand ()
void redo ()
void undo ()

Detailed Description

The undo / redo command for changing a KoParameterShape into a KoPathShape.

Definition at line 34 of file KoParameterToPathCommand.h.


Constructor & Destructor Documentation

KoParameterToPathCommand::KoParameterToPathCommand ( KoParameterShape shape,
QUndoCommand parent = 0 
) [explicit]

Constructor.

Parameters:
shape the shape this command works on
parent the parent command if this is a compound undo command.

Definition at line 25 of file KoParameterToPathCommand.cpp.

KoParameterToPathCommand::KoParameterToPathCommand ( const QList< KoParameterShape * > &  shapes,
QUndoCommand parent = 0 
) [explicit]

Constructor.

Parameters:
shapes the list of shapes this command works on
parent the parent command if this is a compound undo command.

Definition at line 33 of file KoParameterToPathCommand.cpp.

KoParameterToPathCommand::~KoParameterToPathCommand (  )  [virtual]

Definition at line 41 of file KoParameterToPathCommand.cpp.


Member Function Documentation

void KoParameterToPathCommand::redo (  ) 

redo the command

Reimplemented from QUndoCommand.

Definition at line 46 of file KoParameterToPathCommand.cpp.

void KoParameterToPathCommand::undo (  ) 

revert the actions done in redo

Reimplemented from QUndoCommand.

Definition at line 57 of file KoParameterToPathCommand.cpp.


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