Akonadi Contacts
contactstreemodel.cpp
201QVariant ContactsTreeModel::entityHeaderData(int section, Qt::Orientation orientation, int role, HeaderGroup headerGroup) const
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
QList< Column > Columns
Describes a list of columns of the contacts tree model.
Definition contactstreemodel.h:146
@ FullName
Shows the formatted name or, if empty, the assembled name.
Definition contactstreemodel.h:80
EntityTreeModel(Monitor *monitor, QObject *parent=nullptr)
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()
QList< PhoneNumber > List
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()
virtual QModelIndex parent(const QModelIndex &index) const const=0
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
QObject(QObject *parent)
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.