akonadi
#include <recursivecollectionfilterproxymodel.h>
Inherits KRecursiveFilterProxyModel.
Public Member Functions | |
RecursiveCollectionFilterProxyModel (QObject *parent=0) | |
virtual | ~RecursiveCollectionFilterProxyModel () |
void | addContentMimeTypeInclusionFilter (const QString &mimeType) |
void | addContentMimeTypeInclusionFilters (const QStringList &mimeTypes) |
void | clearFilters () |
QStringList | contentMimeTypeInclusionFilters () const |
void | setContentMimeTypeInclusionFilters (const QStringList &mimeTypes) |
void | setIncludeCheckedOnly (bool checked) |
void | setSearchPattern (const QString &pattern) |
Protected Member Functions | |
bool | acceptRow (int sourceRow, const QModelIndex &sourceParent) const |
int | columnCount (const QModelIndex &index) const |
Protected Attributes | |
RecursiveCollectionFilterProxyModelPrivate *const | d_ptr |
Detailed Description
A model to filter out collections of non-matching content types.
- Since
- 4.6
Definition at line 39 of file recursivecollectionfilterproxymodel.h.
Constructor & Destructor Documentation
RecursiveCollectionFilterProxyModel::RecursiveCollectionFilterProxyModel | ( | QObject * | parent = 0 | ) |
Creates a new recursive collection filter proxy model.
- Parameters
-
parent The parent object.
Definition at line 52 of file recursivecollectionfilterproxymodel.cpp.
|
virtual |
Destroys the recursive collection filter proxy model.
Definition at line 58 of file recursivecollectionfilterproxymodel.cpp.
Member Function Documentation
void RecursiveCollectionFilterProxyModel::addContentMimeTypeInclusionFilter | ( | const QString & | mimeType | ) |
Add content mime type to be shown by the filter.
- Parameters
-
mimeType A mime type to be shown.
Definition at line 88 of file recursivecollectionfilterproxymodel.cpp.
void RecursiveCollectionFilterProxyModel::addContentMimeTypeInclusionFilters | ( | const QStringList & | mimeTypes | ) |
Add content mime types to be shown by the filter.
- Parameters
-
mimeTypes A list of content mime types to be included.
Definition at line 96 of file recursivecollectionfilterproxymodel.cpp.
void RecursiveCollectionFilterProxyModel::clearFilters | ( | ) |
Clears the current filters.
Definition at line 104 of file recursivecollectionfilterproxymodel.cpp.
QStringList RecursiveCollectionFilterProxyModel::contentMimeTypeInclusionFilters | ( | ) | const |
Returns the currently included mimetypes in the filter.
Definition at line 120 of file recursivecollectionfilterproxymodel.cpp.
void RecursiveCollectionFilterProxyModel::setContentMimeTypeInclusionFilters | ( | const QStringList & | mimeTypes | ) |
Replace the content mime types to be shown by the filter.
- Parameters
-
mimeTypes A list of content mime types to be included.
Definition at line 112 of file recursivecollectionfilterproxymodel.cpp.
void Akonadi::RecursiveCollectionFilterProxyModel::setIncludeCheckedOnly | ( | bool | checked | ) |
Show only checked item.
- Parameters
-
checked only shows checked item if set as true
- Since
- 4.9
Definition at line 139 of file recursivecollectionfilterproxymodel.cpp.
void Akonadi::RecursiveCollectionFilterProxyModel::setSearchPattern | ( | const QString & | pattern | ) |
Add search pattern.
- Parameters
-
pattern the search pattern to add
- Since
- 4.8.1
Definition at line 132 of file recursivecollectionfilterproxymodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.