Marble
TreeViewDecoratorModel.cpp
27bool TreeViewDecoratorModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
31 const GeoDataObject *object = qvariant_cast<GeoDataObject *>(rowIndex.data(MarblePlacemarkModel::ObjectPointerRole));
46 return QSortFilterProxyModel::data(proxyIndex, role).toString().remove(QStringLiteral("GeoData"));
52 auto object = qvariant_cast<GeoDataObject *>(QSortFilterProxyModel::data(proxyIndex, MarblePlacemarkModel::ObjectPointerRole));
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
int column() const const
QVariant data(int role) const const
virtual QVariant data(const QModelIndex &index, int role) const const override
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const const
QString & remove(QChar ch, Qt::CaseSensitivity cs)
DecorationRole
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.