• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kget

Public Member Functions | List of all members
CountryModel Class Reference

#include <localemodels.h>

Inheritance diagram for CountryModel:
Inheritance graph
[legend]

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:
  • localemodels.h
  • localemodels.cpp
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

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal