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

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

go back to the previous vocabulary

Definition at line 586 of file kanagram.cpp.

References KanagramGame::getFilename(), hideHint(), m_game, KanagramGame::nextAnagram(), play(), and KanagramGame::previousVocab().

Referenced by mousePressEvent(), and setupActions().

{
    m_game->previousVocab();
    hideHint();
    m_game->nextAnagram();

    if (m_useSounds)
    {
        play("chalk.ogg");
    }

    KanagramSettings::setDefaultVocab(m_game->getFilename());
    KanagramSettings::self()->writeConfig();
    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