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

void Kanagram::slotToggleHint (  ) [private, slot]

show/hide the hint

Definition at line 602 of file kanagram.cpp.

References m_hintHideTime, m_hintTimer, and randomHintImage().

Referenced by mousePressEvent(), and setupActions().

{
    if (m_showHint)
    {
        m_showHint = false;
    }
    else
    {
        if (m_hintHideTime)
        {
            m_hintTimer->start(m_hintHideTime * 1000);
        }
        m_showHint = true;
        randomHintImage();
    }
    update();
}

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