Marble
MapThemeSortFilterProxyModel.cpp
25bool MapThemeSortFilterProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
39bool MapThemeSortFilterProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
42 return (sourceModel()->data(index, Qt::UserRole + 1).toString().contains(filterRegularExpression()));
char * toString(const EngineQuery &query)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
virtual QVariant data(const QModelIndex &index, int role) const const=0
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
const QAbstractItemModel * model() const const
int row() const const
bool contains(QAnyStringView key) const const
QVariant value(QAnyStringView key) const const
virtual QVariant data(const QModelIndex &index, int role) const const override
QChar * data()
UserRole
QDateTime toDateTime() const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 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:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.