libs/flake

KoConnectionShapeTypeCommand Class Reference

The undo / redo command for configuring an KoConnection shape. More...

#include <KoConnectionShapeTypeCommand.h>

Inheritance diagram for KoConnectionShapeTypeCommand:

List of all members.

Public Member Functions

 KoConnectionShapeTypeCommand (KoConnectionShape *connection, KoConnectionShape::Type type, QUndoCommand *parent=0)
virtual void redo ()
virtual void undo ()

Detailed Description

The undo / redo command for configuring an KoConnection shape.

Definition at line 27 of file KoConnectionShapeTypeCommand.h.


Constructor & Destructor Documentation

KoConnectionShapeTypeCommand::KoConnectionShapeTypeCommand ( KoConnectionShape connection,
KoConnectionShape::Type  type,
QUndoCommand parent = 0 
)

Changes the tyoe of a connection shape.

Parameters:
connection the connection shape to change type of
type the connection type
parent the optional parent command

Definition at line 23 of file KoConnectionShapeTypeCommand.cpp.


Member Function Documentation

void KoConnectionShapeTypeCommand::redo (  )  [virtual]

redo the command

Reimplemented from QUndoCommand.

Definition at line 36 of file KoConnectionShapeTypeCommand.cpp.

void KoConnectionShapeTypeCommand::undo (  )  [virtual]

revert the actions done in redo

Reimplemented from QUndoCommand.

Definition at line 48 of file KoConnectionShapeTypeCommand.cpp.


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