• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi::FlatCollectionProxyModel

Akonadi::FlatCollectionProxyModel Class Reference

#include <flatcollectionproxymodel_p.h>

Inherits QAbstractProxyModel.

List of all members.

Public Member Functions

 FlatCollectionProxyModel (QObject *parent=0)
 ~FlatCollectionProxyModel ()
int columnCount (const QModelIndex &parent=QModelIndex()) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex mapFromSource (const QModelIndex &sourceIndex) const
QModelIndex mapToSource (const QModelIndex &proxyIndex) const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
void setSourceModel (QAbstractItemModel *sourceModel)

Detailed Description

For internal use only.

Converts the hierarchical collection model into a flat one.

Todo:
Make this fast. And maybe even generic.

Definition at line 34 of file flatcollectionproxymodel_p.h.


Constructor & Destructor Documentation

FlatCollectionProxyModel::FlatCollectionProxyModel ( QObject *  parent = 0  ) 

Create a new flat collection proxy model.

Parameters:
parent The parent object.

Definition at line 80 of file flatcollectionproxymodel.cpp.

FlatCollectionProxyModel::~FlatCollectionProxyModel (  ) 

Destructor.

Definition at line 86 of file flatcollectionproxymodel.cpp.


The documentation for this class was generated from the following files:
  • flatcollectionproxymodel_p.h
  • flatcollectionproxymodel.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
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • 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