Marble
KmlLookAtTagWriter.cpp
23static GeoTagWriterRegistrar s_writerLookAt(GeoTagWriter::QualifiedName(QString::fromLatin1(GeoDataTypes::GeoDataLookAtType),
43 writer.writeElement(QStringLiteral("begin"), lookAt->timeSpan().begin().when().toString(Qt::ISODate));
45 writer.writeElement(QStringLiteral("end"), lookAt->timeSpan().end().when().toString(Qt::ISODate));
49 writer.writeOptionalElement(QStringLiteral("longitude"), QString::number(lookAt->longitude(GeoDataCoordinates::Degree), 'f', 10));
50 writer.writeOptionalElement(QStringLiteral("latitude"), QString::number(lookAt->latitude(GeoDataCoordinates::Degree), 'f', 10));
51 writer.writeOptionalElement(QStringLiteral("altitude"), QString::number(lookAt->altitude(), 'f', 10));
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
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)
ISODate
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.