• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

akonadi/kmime

  • Akonadi
  • MessageThreaderProxyModel
Public Member Functions | List of all members
Akonadi::MessageThreaderProxyModel Class Reference

#include <messagethreaderproxymodel.h>

Inherits QAbstractProxyModel.

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

MessageThreaderProxyModel::MessageThreaderProxyModel ( QObject *  parent = 0)

Create a new MessageThreaderProxyModel.

Parameters
parentThe parent object

Definition at line 274 of file messagethreaderproxymodel.cpp.

MessageThreaderProxyModel::~MessageThreaderProxyModel ( )
virtual

Destroy the model.

Definition at line 281 of file messagethreaderproxymodel.cpp.

Member Function Documentation

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

Reimplemented.

Definition at line 359 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 332 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 354 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 286 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 324 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 318 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 382 of file messagethreaderproxymodel.cpp.

QStringList MessageThreaderProxyModel::mimeTypes ( ) const

Reimplemented.

Definition at line 377 of file messagethreaderproxymodel.cpp.

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

Reimplemented to actually do the threading.

Definition at line 302 of file messagethreaderproxymodel.cpp.

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

Reimplemented.

Definition at line 365 of file messagethreaderproxymodel.cpp.

void MessageThreaderProxyModel::setSourceModel ( QAbstractItemModel *  sourceMessageModel)

Set the source model.

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

Definition at line 340 of file messagethreaderproxymodel.cpp.


The documentation for this class was generated from the following files:
  • messagethreaderproxymodel.h
  • messagethreaderproxymodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:28:59 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi/kmime

Skip menu "akonadi/kmime"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal