• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • 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

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
 MessageThreaderProxyModel (QObject *parent=0)
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)
virtual ~MessageThreaderProxyModel ()

Detailed Description

Proxy to thread message using the Mailthreader agent.

Definition at line 36 of file messagethreaderproxymodel.h.


Constructor & Destructor Documentation

MessageThreaderProxyModel::MessageThreaderProxyModel ( QObject *  parent = 0  ) 

Create a new MessageThreaderProxyModel.

Parameters:
parent The parent object

Definition at line 274 of file messagethreaderproxymodel.cpp.

MessageThreaderProxyModel::~MessageThreaderProxyModel (  )  [virtual]

Destroy the model.

Definition at line 282 of file messagethreaderproxymodel.cpp.


Member Function Documentation

int MessageThreaderProxyModel::columnCount ( const QModelIndex &  index  )  const

Reimplemented.

Definition at line 360 of file messagethreaderproxymodel.cpp.

QModelIndex MessageThreaderProxyModel::createIndex ( int  row,
int  column,
quint32  internalId 
) const

Reimplemented.

Definition at line 333 of file messagethreaderproxymodel.cpp.

bool MessageThreaderProxyModel::hasChildren ( const QModelIndex &  index  )  const

Reimplemented.

Definition at line 355 of file messagethreaderproxymodel.cpp.

QModelIndex MessageThreaderProxyModel::index ( int  row,
int  column,
const QModelIndex &  parent 
) const

Reimplemented.

Definition at line 287 of file messagethreaderproxymodel.cpp.

QModelIndex MessageThreaderProxyModel::mapFromSource ( const QModelIndex &  index  )  const

Reimplemented.

Definition at line 325 of file messagethreaderproxymodel.cpp.

QModelIndex MessageThreaderProxyModel::mapToSource ( const QModelIndex &  index  )  const

Reimplemented.

Definition at line 319 of file messagethreaderproxymodel.cpp.

QMimeData * MessageThreaderProxyModel::mimeData ( const QModelIndexList &  indexes  )  const

Reimplemented.

Definition at line 383 of file messagethreaderproxymodel.cpp.

QStringList MessageThreaderProxyModel::mimeTypes (  )  const

Reimplemented.

Definition at line 378 of file messagethreaderproxymodel.cpp.

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

Reimplemented to actually do the threading.

Definition at line 303 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 366 of file messagethreaderproxymodel.cpp.

void MessageThreaderProxyModel::setSourceModel ( QAbstractItemModel *  sourceMessageModel  ) 

Set the source model.

Parameters:
sourceMessageModel the source model. Be careful, sourceMessageModel has to be a MessageModel.

Definition at line 341 of file messagethreaderproxymodel.cpp.


The documentation for this class was generated from the following files:
  • messagethreaderproxymodel.h
  • messagethreaderproxymodel.cpp

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
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.8
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