parley
vocabularymodel.h
Go to the documentation of this file.
void setLesson(KEduVocLesson *lessonContainer)
Definition: vocabularymodel.cpp:85
Definition: vocabularymodel.h:38
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: vocabularymodel.cpp:245
int columnCount(const QModelIndex &) const
Definition: vocabularymodel.cpp:108
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
Definition: vocabularymodel.h:36
Definition: vocabularymodel.h:34
QMimeData * mimeData(const QModelIndexList &indexes) const
Definition: vocabularymodel.cpp:366
bool setData(const QModelIndex &index, const QVariant &value, int role)
Definition: vocabularymodel.cpp:208
void showEntriesOfSubcontainers(bool show)
Show the entries of child lessons in selected lessons.
Definition: vocabularymodel.cpp:386
VocabularyModel(QObject *parent=0)
Definition: vocabularymodel.cpp:34
Definition: vocabularymodel.h:40
QVariant data(const QModelIndex &, int) const
Definition: vocabularymodel.cpp:116
bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: vocabularymodel.cpp:343
static int columnType(int column)
Returns the type of the column specified.
Definition: vocabularymodel.cpp:315
Definition: vocabularymodel.h:37
Definition: vocabularymodel.h:50
Definition: vocabularymodel.h:51
Definition: vocabularymodel.h:39
Definition: vocabularymodel.h:29
Definition: vocabularymodel.h:41
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: vocabularymodel.cpp:264
void showContainer(KEduVocContainer *container)
Whatever the contents, the model will now display it.
Definition: vocabularymodel.cpp:66
void automaticTranslation(bool enabled)
Set automatic translation to enabled/disabled.
Definition: vocabularymodel.cpp:403
static int translation(int column)
Returns which translation this column matches.
Definition: vocabularymodel.cpp:310
static QString columnTitle(KEduVocDocument *document, int translation, int column)
Returns the name of the entryColumns column.
Definition: vocabularymodel.cpp:283
Definition: vocabularymodel.h:53
Definition: vocabularymodel.h:52
QModelIndex appendEntry(KEduVocExpression *expression=0)
Definition: vocabularymodel.cpp:320
QObject * parent() const
void setDocument(KEduVocDocument *doc)
Definition: vocabularymodel.cpp:48
typedef ItemFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.