Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QUndoCommand::redo (  )  [virtual]

Applies a change to the document. This function must be implemented in the derived class. Calling QUndoStack::push(), QUndoStack::undo() or QUndoStack::redo() from this function leads to undefined beahavior.

The default implementation calls redo() on all child commands.

See also:
undo()

Definition at line 246 of file qundostack.cpp.

Referenced by QUndoStack::push().

{
    for (int i = 0; i < d->child_list.size(); ++i)
        d->child_list.at(i)->redo();
}


Generated by  Doxygen 1.6.0   Back to index