~jonas-drange/ubuntu-system-settings/apl

« back to all changes in this revision

Viewing changes to plugins/language/language-plugin.h

  • Committer: Jonas G. Drange
  • Date: 2016-12-05 13:53:37 UTC
  • mfrom: (1728.1.8 main_list_view)
  • Revision ID: jonas.drange@canonical.com-20161205135337-p3n3qidu5c8n1hxz
merges in prereq

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    SubsetModel *spellCheckingModel();
77
77
    Q_SLOT void spellCheckingModelChanged();
78
78
 
79
 
    Q_INVOKABLE QString languageToLayout(const QString &lang);
80
 
 
81
79
private:
82
80
 
83
81
    void updateLanguageNamesAndCodes();
84
82
    void updateCurrentLanguage();
85
83
    void updateSpellCheckingModel();
86
84
 
87
 
    int indexForLocale(const QString &name);
 
85
    int indexForLocale(const QString &name) const;
88
86
 
89
87
    void userLoaded();
90
88