Marble
KmlCameraTagWriter.cpp
23static GeoTagWriterRegistrar s_writerCamera(GeoTagWriter::QualifiedName(QString::fromLatin1(GeoDataTypes::GeoDataCameraType),
43 writer.writeElement(QStringLiteral("begin"), camera->timeSpan().begin().when().toString(Qt::ISODate));
45 writer.writeElement(QStringLiteral("end"), camera->timeSpan().end().when().toString(Qt::ISODate));
50 writer.writeElement(QStringLiteral("longitude"), QString::number(camera->longitude(GeoDataCoordinates::Degree), 'f', 10));
53 writer.writeElement(QStringLiteral("latitude"), QString::number(camera->latitude(GeoDataCoordinates::Degree), '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
Q_SCRIPTABLE QString camera()
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
iterator begin()
iterator end()
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 Fri Dec 20 2024 11:52:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.