![]() |
Home | ![]() |
The QMailMessageListModel class provides access to a list of stored messages. More...
#include <QMailMessageListModel>
This class is under development and is subject to change.
Inherits QMailMessageModelBase.
QMailMessageListModel ( QObject * parent = 0 ) | |
virtual | ~QMailMessageListModel () |
virtual QModelIndex | generateIndex ( int row, int column, void * ptr ) |
virtual QModelIndex | index ( int row, int column = 0, const QModelIndex & parent = QModelIndex() ) const |
virtual QModelIndex | parent ( const QModelIndex & idx ) const |
virtual QMailMessageModelImplementation * | impl () |
virtual const QMailMessageModelImplementation * | impl () const |
The QMailMessageListModel class provides access to a list of stored messages.
The QMailMessageListModel presents a list of all the messages currently stored in the message store. By using the setKey() and sortKey() functions it is possible to have the model represent specific user filtered subsets of messages sorted in a particular order.
The QMailMessageListModel does not represent the hierarchical links between messages implied by conversation threads. The model flattens the structure of messages such that they can be presented as a one-dimensional list.
Constructs a QMailMessageListModel with a parent parent.
By default, the model will not match any messages, display messages in the order they were submitted, and mail store updates are not ignored.
See also setKey(), setSortKey(), and setIgnoreMailStoreUpdates().
Deletes the QMailMessageListModel object.
Reimplemented from QAbstractItemModel::index().
Reimplemented from QAbstractItemModel::parent().
Copyright © 2010 QtSoftware | Messaging Framework |