kget
CountryModel Class Reference
#include <localemodels.h>
Inheritance diagram for CountryModel:
Public Member Functions | |
CountryModel (QObject *parent=0) | |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
void | setupModelData (const QStringList &countryCodes) |
Detailed Description
The following models are there to store the localized names and the codes of languages and countries Only codes supported by KDE are supported by these models.
The CountryModel stores localized names as well as the codes and the corresponding icons of countries
Definition at line 35 of file localemodels.h.
Constructor & Destructor Documentation
CountryModel::CountryModel | ( | QObject * | parent = 0 | ) |
Definition at line 26 of file localemodels.cpp.
Member Function Documentation
QVariant CountryModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 31 of file localemodels.cpp.
int CountryModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 54 of file localemodels.cpp.
void CountryModel::setupModelData | ( | const QStringList & | countryCodes | ) |
Definition at line 64 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.