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

bool KanagramGame::refreshVocabList (  ) [slot]

refresh the list of vocabulary files available from what we find on disk

Returns:
true if the current vocabulary has changed so the ui can refresh

Definition at line 84 of file kanagramgame.cpp.

References m_doc, m_fileList, m_filename, and useVocab().

Referenced by KanagramGame(), loadDefaultVocab(), and Kanagram::refreshVocabularies().

{
    QString oldFilename = m_filename;
    m_fileList = SharedKvtmlFiles::fileNames(KanagramSettings::dataLanguage());
    if ( m_doc ) {
        useVocab(m_doc->title());
    }
    return oldFilename != 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