edbee - Qt Editor Library v0.11.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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) override
 This method should execute the given command.
 
virtual QString toString () override
 should return the description of the command
 
virtual bool readonly () override
 Tis method should return true if it's executable in readonly mode.
 
- Public Member Functions inherited from edbee::TextEditorCommand
 TextEditorCommand ()
 The default constructor.
 
virtual ~TextEditorCommand ()
 A blank virtual destructor.
 

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)
overridevirtual

This method should execute the given command.

Implements edbee::TextEditorCommand.

◆ readonly()

bool edbee::UndoCommand::readonly ( )
overridevirtual

Tis method should return true if it's executable in readonly mode.

Reimplemented from edbee::TextEditorCommand.

◆ toString()

QString edbee::UndoCommand::toString ( )
overridevirtual

should return the description of the command

Implements edbee::TextEditorCommand.


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