TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
Public Member Functions
Tinkercell::TextUndoCommand Class Reference

this command performs a text change More...

#include <TextEditor.h>

Inheritance diagram for Tinkercell::TextUndoCommand:
Inheritance graph
[legend]
Collaboration diagram for Tinkercell::TextUndoCommand:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TextUndoCommand (TextEditor *, const QString &, const QString &)
 constructor
void redo ()
 redo the change
void undo ()
 undo the change

Detailed Description

this command performs a text change

Definition at line 206 of file TextEditor.h.


Constructor & Destructor Documentation

Tinkercell::TextUndoCommand::TextUndoCommand ( TextEditor editor,
const QString &  oldText,
const QString &  newText 
)

constructor

Parameters:
TextEditor*editor where change happened
QStringnew text

Definition at line 342 of file TextEditor.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines