jovie
talkerlistmodel.cpp
Go to the documentation of this file.
bool updateRow(int row, TalkerCode &talker)
Updates a row of the model/view with information from specified TalkerCode.
Definition: talkerlistmodel.cpp:173
Definition: talkerlistmodel.cpp:45
Definition: talkerlistmodel.cpp:42
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: talkerlistmodel.cpp:72
TalkerListModel(TalkerCode::TalkerCodeList talkers=TalkerCode::TalkerCodeList(), QObject *parent=0)
Definition: talkerlistmodel.cpp:52
int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: talkerlistmodel.cpp:66
static QString translatedVoiceType(int voiceType)
These functions return translated Talker Code attributes.
Definition: talkercode.cpp:247
int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: talkerlistmodel.cpp:58
QModelIndex parent(const QModelIndex &index) const
Definition: talkerlistmodel.cpp:80
Definition: talkerlistmodel.cpp:49
Definition: talkerlistmodel.cpp:43
static QString languageCodeToLanguage(const QString &languageCode)
Converts a language code plus optional country code to language description.
Definition: talkercode.cpp:282
bool appendRow(TalkerCode &talker)
Adds a new row to the model/view containing the specified TalkerCode.
Definition: talkerlistmodel.cpp:165
Definition: talkercode.h:38
void setDatastore(TalkerCode::TalkerCodeList talkers=TalkerCode::TalkerCodeList())
Definition: talkerlistmodel.cpp:151
QVariant data(const QModelIndex &index, int role) const
Definition: talkerlistmodel.cpp:86
Definition: talkerlistmodel.cpp:46
bool removeRow(int row, const QModelIndex &parent=QModelIndex())
Definition: talkerlistmodel.cpp:143
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: talkerlistmodel.cpp:126
Definition: talkerlistmodel.cpp:48
TalkerCode getRow(int row) const
Returns the TalkerCode for a specified row of the model/view.
Definition: talkerlistmodel.cpp:157
Definition: talkerlistmodel.cpp:44
void loadTalkerCodesFromConfig(KConfig *config)
Loads the TalkerCodes into the model/view from the config file.
Definition: talkerlistmodel.cpp:193
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: talkerlistmodel.cpp:118
Definition: talkerlistmodel.cpp:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:32:25 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:32:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.