Marble
GeoDataDocumentWriter.cpp
22bool GeoDataDocumentWriter::write(QIODevice *device, const GeoDataDocument &document, const QString &documentIdentifier)
24 const GeoTagWriter *tagWriter = GeoTagWriter::recognizes(GeoTagWriter::QualifiedName(QString(), documentIdentifier));
42bool GeoDataDocumentWriter::write(const QString &filename, const GeoDataDocument &document, const QString &documentIdentifier)
54void GeoDataDocumentWriter::registerWriter(GeoWriterBackend *writer, const QString &fileExtension)
59void GeoDataDocumentWriter::unregisterWriter(GeoWriterBackend *writer, const QString &fileExtension)
82 qDebug() << "Unable to determine document from file extension " << fileExtension << ", falling back to KML document type";
static bool write(QIODevice *device, const GeoDataDocument &document, const QString &documentIdentifier)
Write the content of the given GeoDataDocument to the given I/O device.
Definition GeoDataDocumentWriter.cpp:22
static void registerWriter(GeoWriterBackend *writer, const QString &fileExtension)
Registers a plugin as a backend for writing a certain file extension.
Definition GeoDataDocumentWriter.cpp:54
A container for Features, Styles and in the future Schemas.
Definition GeoDataDocument.h:48
Base class intended to be subclassed by specific XML tag writers This class provides a base class tha...
Definition GeoTagWriter.h:28
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
Standard Marble way of writing XML This class is intended to be a standardised way of writing XML for...
Definition GeoWriter.h:26
void setDocumentType(const QString &documentType)
Set the current document type.
Definition GeoWriter.cpp:70
bool write(QIODevice *device, const GeoNode *feature)
The main API call to use the XML writer.
Definition GeoWriter.cpp:23
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
bool open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags)
QString suffix() const const
QString errorString() const const
WriteOnly
bool remove(const T &value)
QString fromLatin1(QByteArrayView str)
bool isEmpty() const const
QString toLower() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:43 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:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.