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

void ExerciseMixedNumbers::slotCheckButtonClicked (  ) [private, slot]

handle check button click

Definition at line 375 of file ExerciseMixedNumbers.cpp.

References m_currentState, nextTask(), and showResult().

Referenced by denoReturnPressed(), and ExerciseMixedNumbers().

    // button is used to check result and get to next task
    if (m_currentState == _CHECK_TASK) {
        // don't check result if nothing was entered yet
        if (m_numerEdit->text().isEmpty() && m_denoEdit->text().isEmpty()) {

        m_currentState = _NEXT_TASK;
        (void) showResult();
    } else {
        m_currentState = _CHECK_TASK;
        (void) nextTask();


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