![]() |
TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
|
this command performs a text change More...
#include <TextEditor.h>
Public Member Functions | |
TextUndoCommand (TextEditor *, const QString &, const QString &) | |
constructor | |
void | redo () |
redo the change | |
void | undo () |
undo the change |
this command performs a text change
Definition at line 206 of file TextEditor.h.
Tinkercell::TextUndoCommand::TextUndoCommand | ( | TextEditor * | editor, |
const QString & | oldText, | ||
const QString & | newText | ||
) |
constructor
TextEditor* | editor where change happened |
QString | new text |
Definition at line 342 of file TextEditor.cpp.
void Tinkercell::TextUndoCommand::redo | ( | ) |
redo the change
Definition at line 352 of file TextEditor.cpp.
void Tinkercell::TextUndoCommand::undo | ( | ) |
undo the change
Definition at line 364 of file TextEditor.cpp.