akonadi
Akonadi::MessageThreaderProxyModel Class Reference
Proxy to thread message using the Mailthreader agent. More...
#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
| Akonadi::MessageThreaderProxyModel::MessageThreaderProxyModel | ( | QObject * | parent = 0 | ) |
Create a new MessageThreaderProxyModel.
- Parameters:
-
parent The parent object
| virtual Akonadi::MessageThreaderProxyModel::~MessageThreaderProxyModel | ( | ) | [virtual] |
Destroy the model.
Member Function Documentation
| int Akonadi::MessageThreaderProxyModel::columnCount | ( | const QModelIndex & | index | ) | const |
Reimplemented.
| QModelIndex Akonadi::MessageThreaderProxyModel::createIndex | ( | int | row, |
| int | column, | ||
| quint32 | internalId | ||
| ) | const |
Reimplemented.
| bool EntityTreeModel::hasChildren | ( | const QModelIndex & | index | ) | const |
Reimplemented.
Definition at line 219 of file entitymimetypefiltermodel.cpp.
| QModelIndex Akonadi::MessageThreaderProxyModel::index | ( | int | row, |
| int | column, | ||
| const QModelIndex & | parent | ||
| ) | const |
Reimplemented.
| QModelIndex Akonadi::MessageThreaderProxyModel::mapFromSource | ( | const QModelIndex & | index | ) | const |
Reimplemented.
| QModelIndex Akonadi::MessageThreaderProxyModel::mapToSource | ( | const QModelIndex & | index | ) | const |
Reimplemented.
| QMimeData * EntityTreeModel::mimeData | ( | const QModelIndexList & | indexes | ) | const |
Reimplemented.
Definition at line 255 of file collectionmodel.cpp.
| QStringList MessageModel::mimeTypes | ( | ) | const |
Reimplemented.
Definition at line 250 of file collectionmodel.cpp.
| QModelIndex EntityTreeModel::parent | ( | const QModelIndex & | index | ) | const |
Reimplemented to actually do the threading.
Definition at line 120 of file collection.cpp.
| int MessageModel::rowCount | ( | const QModelIndex & | index | ) | const |
Reimplemented.
Definition at line 160 of file collectionmodel.cpp.
| void Akonadi::MessageThreaderProxyModel::setSourceModel | ( | QAbstractItemModel * | sourceMessageModel | ) |
Set the source model.
- Parameters:
-
sourceMessageModel the source model. Be careful, sourceMessageModel has to be a MessageModel.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference