parley
containermodel.h
Go to the documentation of this file.
66 QModelIndex appendContainer(const QModelIndex& parent, const QString & containerName = QString());
Model for the tree of containers (lessons, word types).
Definition: readonlycontainermodel.h:33
virtual Qt::DropActions supportedDropActions() const
Definition: containermodel.cpp:214
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: readonlycontainermodel.cpp:49
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Change the name or checkbox of a lesson.
Definition: containermodel.cpp:112
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Definition: containermodel.cpp:249
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: containermodel.cpp:163
Model for the tree of containers (lessons, word types).
Definition: containermodel.h:33
virtual QVariant data(const QModelIndex &index, int role) const
Definition: containermodel.cpp:74
void documentModified()
emitted when the inPractice state or name of a lesson changed.
QModelIndex appendContainer(const QModelIndex &parent, const QString &containerName=QString())
Definition: containermodel.cpp:43
typedef DropActions
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: containermodel.cpp:187
virtual QMimeData * mimeData(const QModelIndexList &indexes) const
Definition: containermodel.cpp:225
void deleteContainer(const QModelIndex &containerIndex)
Definition: containermodel.cpp:199
ContainerModel(KEduVocContainer::EnumContainerType type, QObject *parent=0)
Definition: containermodel.cpp:34
QObject * parent() const
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Definition: containermodel.cpp:144
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.