KSpread::UndoWrapperCommand Class Reference

#include <commands.h>

Inherits KCommand.

Public Member Functions

 UndoWrapperCommand (UndoAction *undoAction)
 
virtual void execute ()
 
virtual void unexecute ()
 
virtual TQString name () const
 

Protected Attributes

UndoAction * undoAction
 

Detailed Description

Class UndoWrapperCommand is used to help migration from custom UndoAction to KCommand-based system.

See Doc::addCommand for more information.

Definition at line 89 of file commands.h.

Constructor & Destructor Documentation

◆ UndoWrapperCommand()

UndoWrapperCommand::UndoWrapperCommand ( UndoAction *  undoAction)

Definition at line 37 of file commands.cpp.

Member Function Documentation

◆ execute()

void UndoWrapperCommand::execute ( )
virtual

Definition at line 42 of file commands.cpp.

◆ name()

TQString UndoWrapperCommand::name ( ) const
virtual

Definition at line 54 of file commands.cpp.

◆ unexecute()

void UndoWrapperCommand::unexecute ( )
virtual

Definition at line 49 of file commands.cpp.

Member Data Documentation

◆ undoAction

UndoAction* KSpread::UndoWrapperCommand::undoAction
protected

Definition at line 99 of file commands.h.


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