• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • MessageThreaderProxyModel
Public Member Functions
Akonadi::MessageThreaderProxyModel Class Reference

#include <messagethreaderproxymodel.h>

Inherits QAbstractProxyModel.

List of all members.

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.


Constructor & Destructor Documentation

Akonadi::MessageThreaderProxyModel::MessageThreaderProxyModel ( QObject *  parent = 0)

Create a new MessageThreaderProxyModel.

Parameters:
parentThe 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:
sourceMessageModelthe source model. Be careful, sourceMessageModel has to be a MessageModel.

The documentation for this class was generated from the following files:
  • messagethreaderproxymodel.h
  • collection.cpp
  • collectionmodel.cpp
  • entitymimetypefiltermodel.cpp
  • entitytreemodel.cpp
  • messagemodel.cpp

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal