edbee - Qt Editor Library
Public Member Functions | List of all members
edbee::UndoCommand Class Reference

#include <undocommand.h>

+ Inheritance diagram for edbee::UndoCommand:
+ Collaboration diagram for edbee::UndoCommand:

Public Member Functions

 UndoCommand (bool soft=false)
 
virtual int commandId ()
 
virtual void execute (TextEditorController *controller)
 This method should execute the given command. More...
 
virtual QString toString ()
 should return the description of the command More...
 
- Public Member Functions inherited from edbee::TextEditorCommand
 TextEditorCommand ()
 The default constructor. More...
 
virtual ~TextEditorCommand ()
 A blank virtual destructor. More...
 

Constructor & Destructor Documentation

◆ UndoCommand()

edbee::UndoCommand::UndoCommand ( bool  soft = false)

Member Function Documentation

◆ commandId()

virtual int edbee::UndoCommand::commandId ( )
inlinevirtual

◆ execute()

void edbee::UndoCommand::execute ( TextEditorController controller)
virtual

This method should execute the given command.

Implements edbee::TextEditorCommand.

◆ toString()

QString edbee::UndoCommand::toString ( )
virtual

should return the description of the command

Implements edbee::TextEditorCommand.


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