Marble
GeoUriParser.cpp
68 QRegExp geoUriRegexp(QStringLiteral("geo:(") + floatRegexp + QStringLiteral("),(") + floatRegexp + QStringLiteral("),?(") + floatRegexp
76 double const alt = geoUriRegexp.captureCount() > 2 ? geoUriRegexp.capturedTexts()[3].toDouble() : 0.0;
109 double lat = queryValue(worldwindUrl, QStringLiteral("lat"), QStringLiteral("latitude")).toDouble();
110 double lon = queryValue(worldwindUrl, QStringLiteral("lon"), QStringLiteral("longitude")).toDouble();
111 double alt = queryValue(worldwindUrl, QStringLiteral("alt"), QStringLiteral("altitude")).toDouble();
GeoUriParser(const QString &geoUri=QString())
Constructs a new GeoUriParser with the given Geo URI.
Definition GeoUriParser.cpp:19
Planet planet() const
Returns the Planet on which the coordinates are valid.
Definition GeoUriParser.cpp:43
The PlanetFactory class provides static methods to construct any planet known to Marble.
Definition PlanetFactory.h:26
static Planet construct(const QString &id)
Creates the planet with the given ID, or one with default values if ID is not among planetList()
Definition PlanetFactory.cpp:28
static QList< QString > planetList()
Provides a list of known planet IDs.
Definition PlanetFactory.cpp:17
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
double toDouble(bool *ok) const const
CaseInsensitive
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.