Marble
KmlModelTagWriter.cpp
24static GeoTagWriterRegistrar s_writerModel(GeoTagWriter::QualifiedName(QString::fromLatin1(GeoDataTypes::GeoDataModelType),
41 writer.writeOptionalElement(QLatin1String(kml::kmlTag_longitude), QString::number(location.longitude(GeoDataCoordinates::Degree)), QStringLiteral("0"));
42 writer.writeOptionalElement(QLatin1String(kml::kmlTag_latitude), QString::number(location.latitude(GeoDataCoordinates::Degree)), QStringLiteral("0"));
43 writer.writeOptionalElement(QLatin1String(kml::kmlTag_altitude), QString::number(location.altitude()), QStringLiteral("0"));
51 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_heading), QString::number(orientation.heading()), QStringLiteral("0"));
52 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_tilt), QString::number(orientation.tilt()), QStringLiteral("0"));
53 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_roll), QString::number(orientation.roll()), QStringLiteral("0"));
61 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_x), QString::number(scale.x()), QStringLiteral("1"));
62 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_y), QString::number(scale.y()), QStringLiteral("1"));
63 writer.writeOptionalElement(QString::fromLatin1(kml::kmlTag_z), QString::number(scale.z()), QStringLiteral("1"));
QPair< QString, QString > QualifiedName
Object Name and Namespace Pair This type is intended to be used in a similar way to.
Definition GeoTagWriter.h:44
QVariant location(const QVariant &res)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QString fromLatin1(QByteArrayView str)
QString fromUtf8(QByteArrayView str)
QString number(double n, char format, int precision)
QFuture< void > map(Iterator begin, Iterator end, MapFunctor &&function)
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.