akonadi/akonadi_next
ContactsModel Class Reference
#include <contactsmodel.h>
Inheritance diagram for ContactsModel:

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 |
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:
KDE 4.4 API Reference