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

akonadi

  • Akonadi
  • FlatCollectionProxyModel
Public Member Functions

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

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

Akonadi::FlatCollectionProxyModel::FlatCollectionProxyModel ( QObject *  parent = 0)

Create a new flat collection proxy model.

Parameters:
parentThe parent object.
Akonadi::FlatCollectionProxyModel::~FlatCollectionProxyModel ( )

Destructor.


The documentation for this class was generated from the following file:
  • flatcollectionproxymodel_p.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.7.3
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