messageviewer
#include <mimetreemodel.h>

Public Types | |
| enum | Role { ContentIndexRole = Qt::UserRole + 1, ContentRole, MimeTypeRole, MainBodyPartRole, AlternativeBodyPartRole, UserRole = Qt::UserRole + 100 } |
Public Member Functions | |
| MimeTreeModel (QObject *parent=0) | |
| ~MimeTreeModel () | |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &index) const |
| KMime::Content * | root () |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| void | setRoot (KMime::Content *root) |
Detailed Description
A model representing the mime part tree of a message.
Definition at line 34 of file mimetreemodel.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| ContentIndexRole | |
| ContentRole | |
| MimeTypeRole | |
| MainBodyPartRole | |
| AlternativeBodyPartRole | |
| UserRole | |
Definition at line 39 of file mimetreemodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 123 of file mimetreemodel.cpp.
| MimeTreeModel::~MimeTreeModel | ( | ) |
Definition at line 129 of file mimetreemodel.cpp.
Member Function Documentation
| int MimeTreeModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 193 of file mimetreemodel.cpp.
| QVariant MimeTreeModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
Definition at line 199 of file mimetreemodel.cpp.
| QVariant MimeTreeModel::headerData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| int | role = Qt::DisplayRole |
||
| ) | const |
Definition at line 242 of file mimetreemodel.cpp.
| QModelIndex MimeTreeModel::index | ( | int | row, |
| int | column, | ||
| const QModelIndex & | parent = QModelIndex() |
||
| ) | const |
Definition at line 146 of file mimetreemodel.cpp.
| QModelIndex MimeTreeModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 161 of file mimetreemodel.cpp.
| KMime::Content * MimeTreeModel::root | ( | ) |
Definition at line 140 of file mimetreemodel.cpp.
| int MimeTreeModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 181 of file mimetreemodel.cpp.
| void MimeTreeModel::setRoot | ( | KMime::Content * | root | ) |
Definition at line 134 of file mimetreemodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference