Marble
9#ifndef MARBLE_GEODATADOCUMENT_H
10#define MARBLE_GEODATADOCUMENT_H
14#include "geodata_export.h"
16#include "GeoDataContainer.h"
17#include "GeoDataStyle.h"
18#include "GeoDocument.h"
33class GeoDataNetworkLinkControl;
36class GeoDataDocumentPrivate;
51 GeoDataDocument(
const GeoDataDocument &other);
52 ~GeoDataDocument()
override;
54 GeoDataDocument &operator=(
const GeoDataDocument &other);
56 bool operator==(
const GeoDataDocument &other)
const;
57 bool operator!=(
const GeoDataDocument &other)
const;
59 const char *
nodeType()
const override;
69 DocumentRole documentRole()
const;
70 void setDocumentRole(DocumentRole role);
73 void setProperty(
const QString &property);
88 void setFileName(
const QString &value);
99 void setBaseUri(
const QString &baseUri);
104 GeoDataNetworkLinkControl networkLinkControl()
const;
109 void setNetworkLinkControl(
const GeoDataNetworkLinkControl &networkLinkControl);
115 void addStyle(
const GeoDataStyle::Ptr &style);
121 void removeStyle(
const QString &styleId);
127 GeoDataStyle::Ptr style(
const QString &styleId);
128 GeoDataStyle::ConstPtr style(
const QString &styleId)
const;
146 void removeStyleMap(
const QString &mapId);
164 void addSchema(
const GeoDataSchema &schema);
170 void removeSchema(
const QString &schemaId);
176 GeoDataSchema schema(
const QString &schemaId)
const;
177 GeoDataSchema &schema(
const QString &schemaId);
GeoDataContainer()
Default constructor.
A container for Features, Styles and in the future Schemas.
GeoDataFeature * clone() const override
Duplicate into another equal instance.
bool isGeoDataDocument() const override
Provides type information for downcasting a GeoData.
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
A base class for all geodata features.
a class to map different styles to one style
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:09 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.