kalarm
CollectionListModel Class Reference
#include <collectionmodel.h>
Inheritance diagram for CollectionListModel:
Public Member Functions | |
CollectionListModel (QObject *parent=0) | |
Akonadi::Collection | collection (int row) const |
Akonadi::Collection | collection (const QModelIndex &) const |
QModelIndex | collectionIndex (const Akonadi::Collection &) const |
virtual QVariant | data (const QModelIndex &, int role=Qt::DisplayRole) const |
virtual bool | isDescendantOf (const QModelIndex &ancestor, const QModelIndex &descendant) const |
void | setEventTypeFilter (CalEvent::Type) |
void | setFilterEnabled (bool enabled) |
void | setFilterWritable (bool writable) |
void | useCollectionColour (bool use) |
Detailed Description
Definition at line 50 of file collectionmodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 168 of file collectionmodel.cpp.
Member Function Documentation
Collection CollectionListModel::collection | ( | int | row | ) | const |
Definition at line 179 of file collectionmodel.cpp.
Collection CollectionListModel::collection | ( | const QModelIndex & | index | ) | const |
Definition at line 184 of file collectionmodel.cpp.
QModelIndex CollectionListModel::collectionIndex | ( | const Akonadi::Collection & | ) | const |
Definition at line 189 of file collectionmodel.cpp.
|
virtual |
Definition at line 218 of file collectionmodel.cpp.
|
virtual |
Definition at line 209 of file collectionmodel.cpp.
void CollectionListModel::setEventTypeFilter | ( | CalEvent::Type | type | ) |
Definition at line 194 of file collectionmodel.cpp.
void CollectionListModel::setFilterEnabled | ( | bool | enabled | ) |
Definition at line 204 of file collectionmodel.cpp.
void CollectionListModel::setFilterWritable | ( | bool | writable | ) |
Definition at line 199 of file collectionmodel.cpp.
|
inline |
Definition at line 58 of file collectionmodel.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:52 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:34:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.