marble
MapThemeModel.cpp
Go to the documentation of this file.
23 m_themeManager( new Marble::MapThemeManager( this ) ), m_mapThemeFilters( MapThemeModel::AnyTheme )
97 if ( m_mapThemeFilters & MapThemeModel::Terrestrial && themeId.startsWith( QLatin1String( "earth/" ) ) ) {
101 if ( m_mapThemeFilters & MapThemeModel::Extraterrestrial && !themeId.startsWith( QLatin1String( "earth/" ) ) ) {
QStandardItemModel * mapThemeModel()
Provides a model of the locally existing themes.
Definition: MapThemeManager.cpp:319
Q_INVOKABLE QString name(const QString &id) const
Definition: MapThemeModel.cpp:52
void mapThemeFilterChanged()
int count() const
Provides access to all map themes installed locally.
Definition: DeclarativeMapThemeManager.h:40
static GeoSceneDocument * loadMapTheme(const QString &mapThemeStringID)
Returns the map theme as a GeoSceneDocument object.
Definition: MapThemeManager.cpp:155
void setMapThemeFilter(MapThemeFilters filters)
Definition: MapThemeModel.cpp:77
A container for features parsed from the DGML file.
Definition: GeoSceneDocument.h:44
Definition: MapThemeModel.h:18
virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
Definition: MapThemeModel.cpp:85
QStringList mapThemeIds() const
Returns a list of all locally available map theme IDs.
Definition: MapThemeManager.cpp:138
Q_INVOKABLE MapThemeFilters mapThemeFilter() const
Definition: MapThemeModel.h:29
Q_INVOKABLE int indexOf(const QString &id) const
Definition: MapThemeModel.cpp:62
Definition: MapThemeModel.h:27
Definition: MapThemeModel.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.