QCodeEdit 2.2
Public Member Functions
QSnippetInsertionCommand Class Reference
Inheritance diagram for QSnippetInsertionCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QSnippetInsertionCommand (QEditor *e)
void addPlaceHolder (const QEditor::PlaceHolder &ph)
virtual void addCommand (QDocumentCommand *c)
 Add a command to the group.
virtual void removeCommand (QDocumentCommand *c)
 Remove a command from the block.
virtual void redo ()
 Redo the command.
virtual void undo ()
 Undo the command.

Member Function Documentation

void QSnippetInsertionCommand::addCommand ( QDocumentCommand c) [virtual]

Add a command to the group.

Warning:
Doing that after having pushed the command on the undo/redo stack is likely to result in corruption of the undo/redo stack

Reimplemented from QDocumentCommandBlock.

References QDocumentCommand::setTargetCursor().

void QSnippetInsertionCommand::removeCommand ( QDocumentCommand c) [virtual]

Remove a command from the block.

Warning:
Doing that after having pushed the command on the undo/redo stack is likely to result in corruption of the undo/redo stack

Reimplemented from QDocumentCommandBlock.

References QDocumentCommand::setTargetCursor().


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