mailcommon
snippetsmodel.cpp
Go to the documentation of this file.
bool hasIndex(int row, int column, const QModelIndex &parent) const
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
Definition: snippetsmodel.cpp:160
bool insertRow(int row, const QModelIndex &parent)
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Definition: snippetsmodel.cpp:165
Returns whether the index represents a group.
Definition: snippetsmodel.h:35
QString & append(QChar ch)
iterator insert(const Key &key, const T &value)
QByteArray data(const QString &mimeType) const
The key sequence to activate a snippet.
Definition: snippetsmodel.h:38
void setRoleNames(const QHash< int, QByteArray > &roleNames)
virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Definition: snippetsmodel.cpp:366
void dndDone()
virtual bool hasFormat(const QString &mimeType) const
const QHash< int, QByteArray > & roleNames() const
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Definition: snippetsmodel.cpp:227
qint64 internalId() const
const char * name() const
bool isValid() const
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
void endInsertRows()
virtual bool removeRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: snippetsmodel.cpp:315
void beginRemoveRows(const QModelIndex &parent, int first, int last)
void setText(const QString &text)
void * internalPointer() const
QModelIndex parent() const
QModelIndex createIndex(int row, int column, void *ptr) const
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: snippetsmodel.cpp:279
virtual bool insertRows(int row, int count, const QModelIndex &parent=QModelIndex())
Definition: snippetsmodel.cpp:295
virtual QStringList mimeTypes() const
Definition: snippetsmodel.cpp:334
void beginInsertRows(const QModelIndex &parent, int first, int last)
typedef DropActions
int count() const
int column() const
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: snippetsmodel.cpp:241
virtual Qt::ItemFlags flags(const QModelIndex &index) const
virtual QVariant data(const QModelIndex &index, int role) const
Definition: snippetsmodel.cpp:198
void setData(const QString &mimeType, const QByteArray &data)
virtual QMimeData * mimeData(const QModelIndexList &indexes) const
Definition: snippetsmodel.cpp:341
void endRemoveRows()
QObject * parent() const
QString toString() const
typedef ItemFlags
virtual Qt::DropActions supportedDropActions() const
Definition: snippetsmodel.cpp:417
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 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:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.