marble
TreeViewDecoratorModel.cpp
Go to the documentation of this file.
29 bool TreeViewDecoratorModel::filterAcceptsRow( int sourceRow, const QModelIndex &sourceParent ) const
33 GeoDataObject* object = qvariant_cast<GeoDataObject*>( rowIndex.data( MarblePlacemarkModel::ObjectPointerRole ) );
52 GeoDataObject *object = qvariant_cast<GeoDataObject *>( QSortFilterProxyModel::data(proxyIndex, MarblePlacemarkModel::ObjectPointerRole));
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
QVariant data(const QModelIndex &proxyIndex, int role=Qt::DisplayRole) const
Definition: TreeViewDecoratorModel.cpp:46
Definition: GeoDataItemIcon.h:24
const char * GeoDataDocumentType
Definition: GeoDataTypes.cpp:38
A base class that can hold GeoDataFeatures.
Definition: GeoDataContainer.h:47
const GeoDataStyle * style() const
Return the style assigned to the placemark, or a default style if none has been set.
Definition: GeoDataFeature.cpp:709
void trackCollapsedState(const QModelIndex &index)
Definition: TreeViewDecoratorModel.cpp:85
The pointer to a specific object.
Definition: MarblePlacemarkModel.h:62
virtual const char * nodeType() const =0
Provides type information for downcasting a GeoNode.
QVector< GeoDataItemIcon * > itemIconList() const
Definition: GeoDataListStyle.cpp:110
int removeAll(const T &value)
const char * GeoDataFolderType
Definition: GeoDataTypes.cpp:42
Definition: GeoDataFolder.h:50
bool contains(const T &value) const
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
QAbstractItemModel * sourceModel() const
TreeViewDecoratorModel(QObject *parent=0)
Definition: TreeViewDecoratorModel.cpp:23
QVariant data(int role) const
ListItemType listItemType() const
Definition: GeoDataListStyle.cpp:90
int column() const
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
Definition: TreeViewDecoratorModel.cpp:29
QObject * parent() const
virtual QVariant data(const QModelIndex &index, int role) const
void trackExpandedState(const QModelIndex &index)
Definition: TreeViewDecoratorModel.cpp:80
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 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:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.