PlasmaCore
#include <datamodel.h>
Definition at line 38 of file datamodel.h.
Plasma::SortFilterModel::SortFilterModel |
( |
QObject * |
parent = 0 | ) |
|
Plasma::SortFilterModel::~SortFilterModel |
( |
| ) |
|
int Plasma::SortFilterModel::count |
( |
| ) |
const |
|
inline |
void Plasma::SortFilterModel::countChanged |
( |
| ) |
|
|
signal |
QString Plasma::SortFilterModel::filterRegExp |
( |
| ) |
const |
void Plasma::SortFilterModel::filterRegExpChanged |
( |
const QString & |
| ) |
|
|
signal |
QString Plasma::SortFilterModel::filterRole |
( |
| ) |
const |
QVariantHash Plasma::SortFilterModel::get |
( |
int |
i | ) |
const |
Returns the item at index in the list model.
This allows the item data to be accessed (but not modified) from JavaScript. It returns an Object with a property for each role.
Definition at line 143 of file datamodel.cpp.
int Plasma::SortFilterModel::mapRowFromSource |
( |
int |
i | ) |
const |
int Plasma::SortFilterModel::mapRowToSource |
( |
int |
i | ) |
const |
int Plasma::SortFilterModel::roleNameToId |
( |
const QString & |
name | ) |
|
|
protected |
void Plasma::SortFilterModel::setFilterRegExp |
( |
const QString & |
exp | ) |
|
void Plasma::SortFilterModel::setFilterRole |
( |
const QString & |
role | ) |
|
void Plasma::SortFilterModel::setSortOrder |
( |
const Qt::SortOrder |
order | ) |
|
void Plasma::SortFilterModel::setSortRole |
( |
const QString & |
role | ) |
|
void Plasma::SortFilterModel::sortOrderChanged |
( |
const Qt::SortOrder |
| ) |
|
|
signal |
QString Plasma::SortFilterModel::sortRole |
( |
| ) |
const |
void Plasma::SortFilterModel::sourceModelChanged |
( |
QObject * |
| ) |
|
|
signal |
void Plasma::SortFilterModel::syncRoleNames |
( |
| ) |
|
|
protectedslot |
int Plasma::SortFilterModel::count |
|
read |
How many items are in this model.
Definition at line 74 of file datamodel.h.
QString Plasma::SortFilterModel::filterRegExp |
|
readwrite |
The regular expression for the filter, only items with their filterRole matching filterRegExp will be displayed.
Definition at line 49 of file datamodel.h.
QString Plasma::SortFilterModel::filterRole |
|
readwrite |
The role of the sourceModel on which filterRegExp must be applied.
Definition at line 54 of file datamodel.h.
Qt::CaseSensitivity Plasma::SortFilterModel::sortCaseSensitivity |
|
readwrite |
One of Qt.CaseInsensitive or Qt.CaseSensitive.
Definition at line 69 of file datamodel.h.
Qt::SortOrder Plasma::SortFilterModel::sortOrder |
|
readwrite |
One of Qt.Ascending or Qt.Descending.
Definition at line 64 of file datamodel.h.
QString Plasma::SortFilterModel::sortRole |
|
readwrite |
The role of the sourceModel that will be used for sorting.
if empty the order will be left unaltered
Definition at line 59 of file datamodel.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:42 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.