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

void Expression::setStatus ( Expression::Status  status ) [protected]

Set the status statusChanged will be emitted

Parameters:
statusthe new status

Definition at line 146 of file expression.cpp.

References DeleteOnFinish, Done, status(), and statusChanged().

Referenced by SageExpression::evaluate(), RExpression::evaluate(), OctaveExpression::evaluate(), NullExpression::evaluate(), MaximaExpression::evaluate(), KAlgebraExpression::evaluate(), SageExpression::interrupt(), RExpression::interrupt(), OctaveExpression::interrupt(), NullExpression::interrupt(), and MaximaExpression::interrupt().

{
    d->status=status;
    emit statusChanged(status);

    if(status==Expression::Done&&d->finishingBehavior==Expression::DeleteOnFinish)
        deleteLater();
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index