libs/flake

KoShapeRenameCommand Class Reference

#include <KoShapeRenameCommand.h>

Inheritance diagram for KoShapeRenameCommand:

List of all members.

Public Member Functions

 KoShapeRenameCommand (KoShape *shape, const QString &newName, QUndoCommand *parent=0)
virtual ~KoShapeRenameCommand ()
void redo ()
void undo ()

Detailed Description

Definition at line 29 of file KoShapeRenameCommand.h.


Constructor & Destructor Documentation

KoShapeRenameCommand::KoShapeRenameCommand ( KoShape shape,
const QString newName,
QUndoCommand parent = 0 
)

Definition at line 40 of file KoShapeRenameCommand.cpp.

KoShapeRenameCommand::~KoShapeRenameCommand (  )  [virtual]

Definition at line 48 of file KoShapeRenameCommand.cpp.


Member Function Documentation

void KoShapeRenameCommand::redo (  ) 

redo the command

Reimplemented from QUndoCommand.

Definition at line 53 of file KoShapeRenameCommand.cpp.

void KoShapeRenameCommand::undo (  ) 

revert the actions done in redo

Reimplemented from QUndoCommand.

Definition at line 59 of file KoShapeRenameCommand.cpp.


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