Logo Search packages:      
Sourcecode: qt-at-spi version File versions  Download package

void Calculator::clearAll (  ) [private, slot]

[28]

[30]

Definition at line 315 of file calculator.cpp.

References display, factorSoFar, pendingAdditiveOperator, pendingMultiplicativeOperator, sumSoFar, and waitingForOperand.

Referenced by abortOperation(), and Calculator().

{
    sumSoFar = 0.0;
    factorSoFar = 0.0;
    pendingAdditiveOperator.clear();
    pendingMultiplicativeOperator.clear();
    display->setText("0");
    waitingForOperand = true;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index