parley
vocabularymodel.h
Go to the documentation of this file.
66 QVariant headerData ( int section, Qt::Orientation orientation, int role = Qt::DisplayRole ) const;
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: vocabularymodel.cpp:267
int columnCount(const QModelIndex &) const
Definition: vocabularymodel.cpp:109
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: vocabularymodel.cpp:248
Definition: vocabularymodel.h:30
VocabularyModel(QObject *parent=0)
Definition: vocabularymodel.cpp:35
static int translation(int column)
Returns which translation this column matches.
Definition: vocabularymodel.cpp:313
void showContainer(KEduVocContainer *container)
Whatever the contents, the model will now display it.
Definition: vocabularymodel.cpp:67
QVariant data(const QModelIndex &, int) const
Definition: vocabularymodel.cpp:117
static int columnType(int column)
Returns the type of the column specified.
Definition: vocabularymodel.cpp:318
void showEntriesOfSubcontainers(bool show)
Show the entries of child lessons in selected lessons.
Definition: vocabularymodel.cpp:389
void setDocument(KEduVocDocument *doc)
Definition: vocabularymodel.cpp:49
QMimeData * mimeData(const QModelIndexList &indexes) const
Definition: vocabularymodel.cpp:369
bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: vocabularymodel.cpp:346
bool setData(const QModelIndex &index, const QVariant &value, int role)
Definition: vocabularymodel.cpp:212
void setLesson(KEduVocLesson *lessonContainer)
Definition: vocabularymodel.cpp:86
void automaticTranslation(bool enabled)
Set automatic translation to enabled/disabled.
Definition: vocabularymodel.cpp:406
QModelIndex appendEntry(KEduVocExpression *expression=0)
Definition: vocabularymodel.cpp:323
static QString columnTitle(KEduVocDocument *document, int translation, int column)
Returns the name of the entryColumns column.
Definition: vocabularymodel.cpp:286
int rowCount(const QModelIndex &) const
Definition: vocabularymodel.cpp:96
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 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:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.