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

akonadi/akonadi_next

ContactsModel Class Reference

#include <contactsmodel.h>

Inheritance diagram for ContactsModel:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Roles { EmailCompletionRole = EntityTreeModel::UserRole }

Public Member Functions

 ContactsModel (Session *session, ChangeRecorder *monitor, QObject *parent=0)
virtual ~ContactsModel ()

Protected Member Functions

virtual int columnCount (const QModelIndex &index=QModelIndex()) const
virtual QVariant entityData (const Collection &collection, int column, int role=Qt::DisplayRole) const
virtual QVariant entityData (const Item &item, int column, int role=Qt::DisplayRole) const
virtual QVariant entityHeaderData (int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup) const
virtual bool entityMatch (Collection col, const QVariant &matchData, Qt::MatchFlags flags) const
virtual bool entityMatch (Item item, const QVariant &matchData, Qt::MatchFlags flags) const

Detailed Description

Definition at line 32 of file contactsmodel.h.


Member Enumeration Documentation

enum ContactsModel::Roles
Enumerator:
EmailCompletionRole 

Definition at line 37 of file contactsmodel.h.


Constructor & Destructor Documentation

ContactsModel::ContactsModel ( Session *  session,
ChangeRecorder *  monitor,
QObject *  parent = 0 
)

Definition at line 92 of file contactsmodel.cpp.

ContactsModel::~ContactsModel (  )  [virtual]

Definition at line 98 of file contactsmodel.cpp.


Member Function Documentation

int ContactsModel::columnCount ( const QModelIndex &  index = QModelIndex()  )  const [protected, virtual]

Definition at line 155 of file contactsmodel.cpp.

QVariant ContactsModel::entityData ( const Collection &  collection,
int  column,
int  role = Qt::DisplayRole 
) const [protected, virtual]

Definition at line 132 of file contactsmodel.cpp.

QVariant ContactsModel::entityData ( const Item &  item,
int  column,
int  role = Qt::DisplayRole 
) const [protected, virtual]

Definition at line 103 of file contactsmodel.cpp.

QVariant ContactsModel::entityHeaderData ( int  section,
Qt::Orientation  orientation,
int  role,
HeaderGroup  headerGroup 
) const [protected, virtual]

Definition at line 161 of file contactsmodel.cpp.

bool ContactsModel::entityMatch ( Collection  col,
const QVariant &  matchData,
Qt::MatchFlags  flags 
) const [protected, virtual]

Returns true if matchdata matches col using flags.

Definition at line 78 of file contactsmodel.cpp.

bool ContactsModel::entityMatch ( Item  item,
const QVariant &  matchData,
Qt::MatchFlags  flags 
) const [protected, virtual]

Returns true if matchdata matches item using flags.

Definition at line 49 of file contactsmodel.cpp.


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

akonadi/akonadi_next

Skip menu "akonadi/akonadi_next"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   akonadi_next
  •   clients
  •   kcal
  •   kcm
  •       libmaildir
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
Generated for kdepim by doxygen 1.5.9-20090814
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