marble
BranchFilterProxyModel.cpp
Go to the documentation of this file.
26 void BranchFilterProxyModel::setBranchIndex( GeoDataTreeModel* treeModel, const QModelIndex &index )
37 bool BranchFilterProxyModel::filterAcceptsRow( int sourceRow, const QModelIndex &sourceParent ) const
52 GeoDataObject* obj = qvariant_cast<GeoDataObject*>( rowIndex.data( MarblePlacemarkModel::ObjectPointerRole ) );
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
The representation of GeoData in a model This class represents all available data given by kml-data f...
Definition: GeoDataTreeModel.h:32
BranchFilterProxyModel(QObject *parent=0)
Definition: BranchFilterProxyModel.cpp:19
const char * GeoDataDocumentType
Definition: GeoDataTypes.cpp:38
The pointer to a specific object.
Definition: MarblePlacemarkModel.h:62
virtual const char * nodeType() const =0
Provides type information for downcasting a GeoNode.
bool isValid() const
bool isValid() const
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
determines if such row should be filtered.
Definition: BranchFilterProxyModel.cpp:37
const char * GeoDataFolderType
Definition: GeoDataTypes.cpp:42
void invalidateFilter()
QModelIndex parent() const
QAbstractItemModel * sourceModel() const
const QAbstractItemModel * model() const
QVariant data(int role) const
void setBranchIndex(GeoDataTreeModel *sourceModel, const QModelIndex &index)
sets the folder index for which we want to see bookmarks
Definition: BranchFilterProxyModel.cpp:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 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:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.