akonadi
contactstreemodel.cpp
197 QVariant ContactsTreeModel::entityData( const Collection &collection, int column, int role ) const
222 QVariant ContactsTreeModel::entityHeaderData( int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup ) const
A model for collections and items together.
Definition: entitytreemodel.h:318
void setColumns(const Columns &columns)
Sets the columns that the model should show.
Definition: contactstreemodel.cpp:58
@ FullName
Shows the formatted name or, if empty, the assembled name.
Definition: contactstreemodel.h:90
QList< Column > Columns
Describes a list of columns of the contacts tree model.
Definition: contactstreemodel.h:156
@ CollectionTreeHeaders
Header information for a collection-only tree.
Definition: entitytreemodel.h:385
virtual QVariant entityData(const Item &item, int column, int role=Qt::DisplayRole) const
Provided for convenience of subclasses.
Definition: entitytreemodel.cpp:173
ContactsTreeModel(ChangeRecorder *monitor, QObject *parent=0)
Creates a new contacts tree model.
Definition: contactstreemodel.cpp:48
virtual QVariant entityHeaderData(int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup) const
Reimplement this to provide different header data.
Definition: entitytreemodel.cpp:730
Columns columns() const
Returns the columns that the model currently shows.
Definition: contactstreemodel.cpp:65
A model for contacts and contact groups as available in Akonadi.
Definition: contactstreemodel.h:78
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.