QCodeEdit  2.2
QDocumentEraseCommand Class Reference

A specialized command to erase text. More...

Inheritance diagram for QDocumentEraseCommand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QDocumentEraseCommand (int bl, int bo, int el, int eo, QDocument *doc, QDocumentCommand *p=0)
 ctor
virtual ~QDocumentEraseCommand ()
 dtor
virtual bool mergeWith (const QUndoCommand *command)
 Attempts to merge with another command.
virtual void redo ()
 Redo the command.
virtual void undo ()
 Undo the command.

Detailed Description

A specialized command to erase text.


Constructor & Destructor Documentation

QDocumentEraseCommand::QDocumentEraseCommand ( int  bl,
int  bo,
int  el,
int  eo,
QDocument doc,
QDocumentCommand p = 0 
)

ctor

Parameters:
blbegin line of the target area
bobegin text position of the target area
elend line of the target area
eoend text position of the target area
dochost document
pparent command

Member Function Documentation

bool QDocumentEraseCommand::mergeWith ( const QUndoCommand command) [virtual]

Attempts to merge with another command.

Command merging is not implemented.

Reimplemented from QDocumentCommand.


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