Marble
MapThemeModel.cpp
24 connect(m_themeManager, &Marble::MapThemeManager::themesChanged, this, &MapThemeModel::handleChangedThemes);
82 if (m_mapThemeFilters & MapThemeModel::Terrestrial && themeId.startsWith(QLatin1StringView("earth/"))) {
86 if (m_mapThemeFilters & MapThemeModel::Extraterrestrial && !themeId.startsWith(QLatin1StringView("earth/"))) {
Provides access to all map themes installed locally.
Definition DeclarativeMapThemeManager.h:31
A container for features parsed from the DGML file.
Definition GeoSceneDocument.h:30
QStringList mapThemeIds() const
Returns a list of all locally available map theme IDs.
Definition MapThemeManager.cpp:133
void themesChanged()
This signal will be emitted, when the themes change.
static GeoSceneDocument * loadMapTheme(const QString &mapThemeStringID)
Returns the map theme as a GeoSceneDocument object.
Definition MapThemeManager.cpp:152
char * toString(const EngineQuery &query)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
void beginResetModel()
void endResetModel()
sourceModel
void clear()
bool contains(const AT &value) const const
QVariant data(int role) const const
Q_EMITQ_EMIT
virtual QVariant data(const QModelIndex &index, int role) const const override
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
virtual int rowCount(const QModelIndex &parent) const const override
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
DisplayRole
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.