akonadi/kmime
#include <messagethreaderproxymodel.h>
Inherits QAbstractProxyModel.
Public Member Functions | |
MessageThreaderProxyModel (QObject *parent=0) | |
virtual | ~MessageThreaderProxyModel () |
int | columnCount (const QModelIndex &index) const |
QModelIndex | createIndex (int row, int column, quint32 internalId) const |
bool | hasChildren (const QModelIndex &index) const |
QModelIndex | index (int row, int column, const QModelIndex &parent) const |
QModelIndex | mapFromSource (const QModelIndex &index) const |
QModelIndex | mapToSource (const QModelIndex &index) const |
QMimeData * | mimeData (const QModelIndexList &indexes) const |
QStringList | mimeTypes () const |
QModelIndex | parent (const QModelIndex &index) const |
int | rowCount (const QModelIndex &index) const |
void | setSourceModel (QAbstractItemModel *sourceMessageModel) |
Detailed Description
Proxy to thread message using the Mailthreader agent.
- Deprecated:
- This model is not used for threading and will not work. Use the messagelist component in the kdepim module instead.
Definition at line 38 of file messagethreaderproxymodel.h.
Constructor & Destructor Documentation
◆ MessageThreaderProxyModel()
MessageThreaderProxyModel::MessageThreaderProxyModel | ( | QObject * | parent = 0 | ) |
Create a new MessageThreaderProxyModel.
- Parameters
-
parent The parent object
Definition at line 270 of file messagethreaderproxymodel.cpp.
◆ ~MessageThreaderProxyModel()
|
virtual |
Destroy the model.
Definition at line 277 of file messagethreaderproxymodel.cpp.
Member Function Documentation
◆ columnCount()
int MessageThreaderProxyModel::columnCount | ( | const QModelIndex & | index | ) | const |
Reimplemented.
Definition at line 357 of file messagethreaderproxymodel.cpp.
◆ createIndex()
QModelIndex MessageThreaderProxyModel::createIndex | ( | int | row, |
int | column, | ||
quint32 | internalId | ||
) | const |
Reimplemented.
Definition at line 330 of file messagethreaderproxymodel.cpp.
◆ hasChildren()
bool MessageThreaderProxyModel::hasChildren | ( | const QModelIndex & | index | ) | const |
Reimplemented.
Definition at line 352 of file messagethreaderproxymodel.cpp.
◆ index()
QModelIndex MessageThreaderProxyModel::index | ( | int | row, |
int | column, | ||
const QModelIndex & | parent | ||
) | const |
Reimplemented.
Definition at line 282 of file messagethreaderproxymodel.cpp.
◆ mapFromSource()
QModelIndex MessageThreaderProxyModel::mapFromSource | ( | const QModelIndex & | index | ) | const |
Reimplemented.
Definition at line 322 of file messagethreaderproxymodel.cpp.
◆ mapToSource()
QModelIndex MessageThreaderProxyModel::mapToSource | ( | const QModelIndex & | index | ) | const |
Reimplemented.
Definition at line 316 of file messagethreaderproxymodel.cpp.
◆ mimeData()
QMimeData * MessageThreaderProxyModel::mimeData | ( | const QModelIndexList & | indexes | ) | const |
Reimplemented.
Definition at line 383 of file messagethreaderproxymodel.cpp.
◆ mimeTypes()
QStringList MessageThreaderProxyModel::mimeTypes | ( | ) | const |
Reimplemented.
Definition at line 378 of file messagethreaderproxymodel.cpp.
◆ parent()
QModelIndex MessageThreaderProxyModel::parent | ( | const QModelIndex & | index | ) | const |
Reimplemented to actually do the threading.
Definition at line 298 of file messagethreaderproxymodel.cpp.
◆ rowCount()
int MessageThreaderProxyModel::rowCount | ( | const QModelIndex & | index | ) | const |
Reimplemented.
Definition at line 364 of file messagethreaderproxymodel.cpp.
◆ setSourceModel()
void MessageThreaderProxyModel::setSourceModel | ( | QAbstractItemModel * | sourceMessageModel | ) |
Set the source model.
- Parameters
-
sourceMessageModel the source model. Be careful, sourceMessageModel has to be a MessageModel.
Definition at line 339 of file messagethreaderproxymodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.