Akonadi Contacts
contactstreemodel.cpp
201QVariant ContactsTreeModel::entityHeaderData(int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup) const
A model for contacts and contact groups as available in Akonadi.
Definition contactstreemodel.h:69
void setColumns(const Columns &columns)
Sets the columns that the model should show.
Definition contactstreemodel.cpp:44
~ContactsTreeModel() override
Destroys the contacts tree model.
ContactsTreeModel(Monitor *monitor, QObject *parent=nullptr)
Creates a new contacts tree model.
Definition contactstreemodel.cpp:36
Columns columns() const
Returns the columns that the model currently shows.
Definition contactstreemodel.cpp:51
@ FullName
Shows the formatted name or, if empty, the assembled name.
Definition contactstreemodel.h:80
CollectionTreeHeaders
ItemListHeaders
virtual QVariant entityData(const Collection &collection, int column, int role=Qt::DisplayRole) const
virtual QVariant entityHeaderData(int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup) const
QString mimeType() const
bool hasPayload() const
T payload() const
QString remoteId() const
static QString noteLabel()
static QString organizationLabel()
static QString mimeType()
static QString urlLabel()
static QString roleLabel()
static QString birthdayLabel()
static QString mimeType()
QString name() const
QImage data() const
bool isIntern() const
bool isEmpty() const
QString i18nc(const char *context, const char *text, const TYPE &arg...)
A widget for editing the display name of a contact.
KIOCORE_EXPORT QString number(KIO::filesize_t size)
PostalAddress address(const QVariant &location)
void beginResetModel()
void endResetModel()
QIcon fromTheme(const QString &name)
QImage scaled(const QSize &size, Qt::AspectRatioMode aspectRatioMode, Qt::TransformationMode transformMode) const const
qsizetype count() const const
void reserve(qsizetype size)
ShortFormat
QString toString(QDate date, FormatType format) const const
QString number(double n, char format, int precision)
QString join(QChar separator) const const
KeepAspectRatio
DisplayRole
Orientation
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.