akonadi
contactcompletionmodel.cpp
120 QVariant ContactCompletionModel::entityData( const Collection &collection, int column, int role ) const
void addMimeTypeExclusionFilter(const QString &mimeType)
Add mime type to be excluded by the filter.
Definition: entitymimetypefiltermodel.cpp:92
virtual QVariant entityData(const Item &item, int column, int role=Qt::DisplayRole) const
Provided for convenience of subclasses.
Definition: entitytreemodel.cpp:173
virtual void setSourceModel(QAbstractItemModel *sourceModel)
void setMimeTypeMonitored(const QString &mimetype, bool monitored=true)
Sets whether items of the specified mime type shall be monitored for changes.
Definition: monitor.cpp:126
void setCollectionMonitored(const Collection &collection, bool monitored=true)
Sets whether the specified collection shall be monitored for changes.
Definition: monitor.cpp:66
QString simplified() const
static QString virtualMimeType()
Returns the mimetype used for virtual collections.
Definition: collection.cpp:202
A proxy model that filters entities by mime type.
Definition: entitymimetypefiltermodel.h:61
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:70
bool isValid() const
bool isEmpty() const
void fetchCollection(bool enable)
Enables automatic fetching of changed collections from the Akonadi storage.
Definition: monitor.cpp:219
Header information for a list of items.
Definition: entitytreemodel.h:386
void setHeaderGroup(EntityTreeModel::HeaderGroup headerGroup)
Sets the header set of the filter model.
Definition: entitymimetypefiltermodel.cpp:152
A model for collections and items together.
Definition: entitytreemodel.h:318
QString fromLatin1(const char *str, int size)
QFuture< void > filter(Sequence &sequence, FilterFunction filterFunction)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
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.