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

akonadi

Akonadi::MessageThreaderProxyModel

Akonadi::MessageThreaderProxyModel Class Reference

Proxy to thread message using the Mailthreader agent. More...

#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.

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 Akonadi::MessageThreaderProxyModel::hasChildren ( const QModelIndex &  index  )  const

Reimplemented.

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* Akonadi::MessageThreaderProxyModel::mimeData ( const QModelIndexList &  indexes  )  const

Reimplemented.

QStringList Akonadi::MessageThreaderProxyModel::mimeTypes (  )  const

Reimplemented.

QModelIndex Akonadi::MessageThreaderProxyModel::parent ( const QModelIndex &  index  )  const

Reimplemented to actually do the threading.

int Akonadi::MessageThreaderProxyModel::rowCount ( const QModelIndex &  index  )  const

Reimplemented.

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 file:
  • messagethreaderproxymodel.h

akonadi

Skip menu "akonadi"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • 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.6.1
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