Akonadi Contacts
contactcompletionmodel.cpp
79 QString name = QStringLiteral("%1 %2").arg(contact.givenName(), contact.familyName()).simplified();
104QVariant ContactCompletionModel::entityData(const Collection &collection, int column, int role) const
static QString mimeType()
static Collection root()
static QString virtualMimeType()
ItemListHeaders
virtual QVariant entityData(const Collection &collection, int column, int role=Qt::DisplayRole) const
static QString mimeType()
A widget for editing the display name of a contact.
QString name(StandardAction id)
bool isValid() const const
void setObjectName(QAnyStringView name)
QString arg(Args &&... args) const const
bool isEmpty() const const
QString simplified() const const
DisplayRole
QFuture< void > filter(QThreadPool *pool, Sequence &sequence, KeepFunctor &&filterFunction)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.