libs/flake

KoPathCombineCommand Class Reference

The undo / redo command for combining two or more paths into one. More...

#include <KoPathCombineCommand.h>

Inheritance diagram for KoPathCombineCommand:

List of all members.

Public Member Functions

 KoPathCombineCommand (KoShapeControllerBase *controller, const QList< KoPathShape * > &paths, QUndoCommand *parent=0)
virtual ~KoPathCombineCommand ()
void redo ()
void undo ()

Detailed Description

The undo / redo command for combining two or more paths into one.

Definition at line 32 of file KoPathCombineCommand.h.


Constructor & Destructor Documentation

KoPathCombineCommand::KoPathCombineCommand ( KoShapeControllerBase controller,
const QList< KoPathShape * > &  paths,
QUndoCommand parent = 0 
)

Command for combining a list of paths into one single path.

Parameters:
controller the controller to used for removing/inserting.
paths the list of paths to combine
parent the parent command used for macro commands

Definition at line 53 of file KoPathCombineCommand.cpp.

KoPathCombineCommand::~KoPathCombineCommand (  )  [virtual]

Definition at line 71 of file KoPathCombineCommand.cpp.


Member Function Documentation

void KoPathCombineCommand::redo (  ) 

redo the command

Reimplemented from QUndoCommand.

Definition at line 76 of file KoPathCombineCommand.cpp.

void KoPathCombineCommand::undo (  ) 

revert the actions done in redo

Reimplemented from QUndoCommand.

Definition at line 100 of file KoPathCombineCommand.cpp.


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