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

void KanagramGame::previousVocab (  ) [slot]

use the previous vocab file in the list

open returns KEduVocDocument::ErrorCode

Definition at line 129 of file kanagramgame.cpp.

References checkFile(), m_answeredWords, m_doc, m_fileList, m_filename, and m_index.

Referenced by Kanagram::slotPrevVocabulary().

    if (--m_index < 0)
        m_index = m_fileList.size() - 1;

    m_filename = m_fileList[m_index];
    delete m_doc;
    m_doc = new KEduVocDocument(this);
    ///@todo open returns KEduVocDocument::ErrorCode
    m_doc->open(KUrl(KStandardDirs::locate("data", m_filename)));

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