• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • MessageViewer
  • MimeTreeModel
Public Types | Public Member Functions | List of all members
MessageViewer::MimeTreeModel Class Reference

#include <mimetreemodel.h>

Inheritance diagram for MessageViewer::MimeTreeModel:
Inheritance graph
[legend]

Public Types

enum  Role {
  ContentIndexRole = Qt::UserRole + 1, ContentRole, MimeTypeRole, MainBodyPartRole,
  AlternativeBodyPartRole, UserRole = Qt::UserRole + 100
}
 

Public Member Functions

 MimeTreeModel (QObject *parent=0)
 
 ~MimeTreeModel ()
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
QModelIndex parent (const QModelIndex &index) const
 
KMime::Content * root ()
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
void setRoot (KMime::Content *root)
 

Detailed Description

A model representing the mime part tree of a message.

Definition at line 34 of file mimetreemodel.h.

Member Enumeration Documentation

enum MessageViewer::MimeTreeModel::Role
Enumerator
ContentIndexRole 
ContentRole 
MimeTypeRole 
MainBodyPartRole 
AlternativeBodyPartRole 
UserRole 

Definition at line 39 of file mimetreemodel.h.

Constructor & Destructor Documentation

MimeTreeModel::MimeTreeModel ( QObject *  parent = 0)
explicit

Definition at line 123 of file mimetreemodel.cpp.

MimeTreeModel::~MimeTreeModel ( )

Definition at line 129 of file mimetreemodel.cpp.

Member Function Documentation

int MimeTreeModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 193 of file mimetreemodel.cpp.

QVariant MimeTreeModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

Definition at line 199 of file mimetreemodel.cpp.

QVariant MimeTreeModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Definition at line 242 of file mimetreemodel.cpp.

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

Definition at line 146 of file mimetreemodel.cpp.

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

Definition at line 161 of file mimetreemodel.cpp.

KMime::Content * MimeTreeModel::root ( )

Definition at line 140 of file mimetreemodel.cpp.

int MimeTreeModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 181 of file mimetreemodel.cpp.

void MimeTreeModel::setRoot ( KMime::Content *  root)

Definition at line 134 of file mimetreemodel.cpp.


The documentation for this class was generated from the following files:
  • mimetreemodel.h
  • mimetreemodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



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