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
QList< Column > Columns
Describes a list of columns of the contacts tree model.
Definition: contactstreemodel.h:156
virtual QVariant entityData(const Item &item, int column, int role=Qt::DisplayRole) const
Provided for convenience of subclasses.
Definition: entitytreemodel.cpp:173
Shows the formatted home address.
Definition: contactstreemodel.h:110
QString join(const QString &separator) const
Shows the preferred email address.
Definition: contactstreemodel.h:125
virtual QVariant entityHeaderData(int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup) const
Reimplement this to provide different header data.
Definition: entitytreemodel.cpp:730
The QDate object for the current index.
Definition: contactstreemodel.h:162
Header information for a collection-only tree.
Definition: entitytreemodel.h:385
void beginResetModel()
ContactsTreeModel(ChangeRecorder *monitor, QObject *parent=0)
Creates a new contacts tree model.
Definition: contactstreemodel.cpp:48
Shows the formatted name or, if empty, the assembled name.
Definition: contactstreemodel.h:90
void setColumns(const Columns &columns)
Sets the columns that the model should show.
Definition: contactstreemodel.cpp:58
Header information for a list of items.
Definition: entitytreemodel.h:386
A model for contacts and contact groups as available in Akonadi.
Definition: contactstreemodel.h:78
Shows organization name.
Definition: contactstreemodel.h:135
A model for collections and items together.
Definition: entitytreemodel.h:318
Columns columns() const
Returns the columns that the model currently shows.
Definition: contactstreemodel.cpp:65
Shows the formatted business address.
Definition: contactstreemodel.h:115
Shows the phone numbers.
Definition: contactstreemodel.h:120
void endResetModel()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.