• 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
LanguageModel Class Reference

#include <localemodels.h>

Inheritance diagram for LanguageModel:
Inheritance graph
[legend]

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:
  • 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