vcommand.h
void historyCleared()
This signal is emitted when the command history gets cleared.
void documentRestored()
This signal is emitted when the actual document state matches the last saved one.
void addCommand(VCommand *command, bool execute=true)
Adds a new command to the history.
Definition vcommand.cpp:70
void commandExecuted(VCommand *)
This signal is emitted when a command is executed.
void commandAdded(VCommand *)
This signal is emitted when a command is added to the history.
void lastCommandRemoved()
This signal is emitted when the last (latest) command is removed.
void redoAllTo(VCommand *command)
Redoes all command up to the specified command.
Definition vcommand.cpp:238
void undoAllTo(VCommand *command)
Undoes all command up to the specified command.
Definition vcommand.cpp:209
void firstCommandRemoved()
This signal is emitted when the first (oldest) command is removed.
void commandExecuted()
This signal is emitted when a command is executed.
const TQPtrList< VCommand > * commands() const
Read only access to the command history list.
Definition vcommand.h:223
virtual bool changesSelection() const
Returns if the command changes the actual document selection.
Definition vcommand.h:84
VCommand(VDocument *doc, const TQString &name, const TQString &icon="14_action")
Constructs a new command.
Definition vcommand.h:51
