Marble
5 #ifndef MARBLE_GEODATARELATION_H
6 #define MARBLE_GEODATARELATION_H
8 #include "GeoDataCoordinates.h"
9 #include "GeoDataPlacemark.h"
11 #include "geodata_export.h"
15 class GeoDataRelationPrivate;
18 class GEODATA_EXPORT GeoDataRelation:
public GeoDataFeature
30 RouteTrolleyBus = 1 << 8,
31 RouteBicycle = 1 << 9,
32 RouteMountainbike = 1 << 10,
34 RouteHiking = 1 << 12,
36 RouteInlineSkates = 1 << 14,
37 RouteSkiDownhill = 1 << 15,
38 RouteSkiNordic = 1 << 16,
39 RouteSkitour = 1 << 17,
43 Q_DECLARE_FLAGS(RelationTypes, RelationType)
46 ~GeoDataRelation()
override;
47 GeoDataRelation(
const GeoDataRelation &other);
48 GeoDataRelation & operator=(GeoDataRelation other);
49 bool operator<(
const GeoDataRelation &other)
const;
51 const char* nodeType()
const override;
52 GeoDataFeature * clone()
const override;
54 void addMember(
const GeoDataFeature* feature, qint64
id,
OsmType type,
const QString &role);
57 OsmPlacemarkData &osmData();
58 const OsmPlacemarkData &osmData()
const;
60 RelationType relationType()
const;
65 GeoDataRelationPrivate* d_ptr;
66 Q_DECLARE_PRIVATE(GeoDataRelation)
Binds a QML item to a specific geodetic location in screen coordinates.
OsmType
Type of OSM element.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Oct 4 2023 04:09:41 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.