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

void ResultWidget::setResult ( const ratio  para_result,
int  k 
)

set the task to be displayed

Definition at line 165 of file resultwidget.cpp.

References m_result.

Referenced by TaskView::nextTask(), ExercisePercentage::nextTask(), ExerciseMixedNumbers::nextTask(), ExerciseFactorize::nextTask(), ExerciseConvert::nextTask(), TaskView::showResult(), ExercisePercentage::showResult(), ExerciseMixedNumbers::showResult(), ExerciseFactorize::showResult(), ExerciseConvert::showResult(), and ExerciseCompare::showResult().

{
#ifdef DEBUG
    kDebug() << "ResultWidget::setResult";
    kDebug() << "m_kindView = " + k;
#endif
    m_kindView = k;
    m_result = para_result;

    showResult();
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index