kget
LanguageModel Class Reference
#include <localemodels.h>
Inheritance diagram for LanguageModel:

Public Member Functions | |
| LanguageModel (QObject *parent=0) | |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| void | setupModelData (const QStringList &languageCodes) |
Detailed Description
The LanguageModel stores localized names as well as the codes of languages.
Definition at line 56 of file localemodels.h.
Constructor & Destructor Documentation
| LanguageModel::LanguageModel | ( | QObject * | parent = 0 | ) |
Definition at line 88 of file localemodels.cpp.
Member Function Documentation
| QVariant LanguageModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
Definition at line 93 of file localemodels.cpp.
| int LanguageModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 112 of file localemodels.cpp.
| void LanguageModel::setupModelData | ( | const QStringList & | languageCodes | ) |
Definition at line 122 of file localemodels.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference