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

void MainSettings::slotUpdateLanguage (  ) [slot]

save the language setting that has been chosen

Definition at line 87 of file mainsettings.cpp.

References settingsChanged().

Referenced by MainSettings().

{
    int index = languageComboBox->currentIndex();
    QString language = languageComboBox->itemData(index).toString();
    kDebug() << "Writing new default language: " << language;
    KanagramSettings::setDataLanguage(language);
    KanagramSettings::self()->writeConfig();
    
    emit settingsChanged();
}

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