Logo Search packages:      
Sourcecode: qcad version File versions  Download package

RS_UndoCycle * RS_Undo::getUndoCycle (  )  [virtual, inherited]

The undo item that is next if we're about to undo or NULL.

Definition at line 202 of file rs_undo.cpp.

References RS_Undo::undoList, and RS_Undo::undoPointer.

      RS_UndoCycle* ret = NULL;

    if (undoPointer>=0 && undoPointer<(int)undoList.count()) {
        ret = undoList.at(undoPointer);
    RS_DEBUG->print("RS_Undo::getUndoCycle: OK");

    return ret;

Generated by  Doxygen 1.6.0   Back to index