|
QCodeEdit 2.2
|
A meta command used for command grouping. More...

Public Member Functions | |
| QDocumentCommandBlock (QDocument *d) | |
| ctor | |
| virtual | ~QDocumentCommandBlock () |
| dtor | |
| virtual void | redo () |
| Redo the command. | |
| virtual void | undo () |
| Undo the command. | |
| void | setWeakLock (bool l) |
| Set whether the block is weakly locked. | |
| bool | isWeakLocked () const |
| virtual void | addCommand (QDocumentCommand *c) |
| Add a command to the group. | |
| virtual void | removeCommand (QDocumentCommand *c) |
| Remove a command from the block. | |
A meta command used for command grouping.
| QDocumentCommandBlock::QDocumentCommandBlock | ( | QDocument * | d | ) |
ctor
| d | host document |
| void QDocumentCommandBlock::addCommand | ( | QDocumentCommand * | c | ) | [virtual] |
Add a command to the group.
Reimplemented in QSnippetInsertionCommand.
| bool QDocumentCommandBlock::isWeakLocked | ( | ) | const |
| void QDocumentCommandBlock::removeCommand | ( | QDocumentCommand * | c | ) | [virtual] |
Remove a command from the block.
Reimplemented in QSnippetInsertionCommand.
1.7.4