Marble
6 #ifndef MARBLE_DECLARATIVE_PLACEMARK_H
7 #define MARBLE_DECLARATIVE_PLACEMARK_H
9 #include "GeoDataPlacemark.h"
10 #include "RouteRelationModel.h"
14 #include <QStringListModel>
32 Q_PROPERTY(
QString wheelchairInfo READ wheelchairInfo NOTIFY wheelchairInfoChanged)
33 Q_PROPERTY(
QString wifiAvailable READ wifiAvailable NOTIFY wifiAvailabilityChanged)
35 Q_PROPERTY(
double longitude READ longitude NOTIFY coordinatesChanged)
36 Q_PROPERTY(
double latitude READ latitude NOTIFY coordinatesChanged)
39 Q_PROPERTY(RouteRelationModel* routeRelationModel READ routeRelationModel CONSTANT)
60 double longitude()
const;
61 double latitude()
const;
64 RouteRelationModel* routeRelationModel();
67 void setName(
const QString &name);
71 void coordinatesChanged();
72 void descriptionChanged();
73 void addressChanged();
74 void websiteChanged();
75 void wikipediaChanged();
76 void openingHoursChanged();
77 void wheelchairInfoChanged();
78 void wifiAvailabilityChanged();
82 void routeRelationModelChanged();
89 QString addressFromOsmData()
const;
100 mutable QString m_wheelchairInfo;
101 mutable QString m_wifiAvailable;
105 RouteRelationModel m_relationModel;
112 #endif // MARBLE_DECLARATIVE_PLACEMARK_H
Binds a QML item to a specific geodetic location in screen coordinates.
Wraps a GeoDataPlacemark for QML access.
a class representing a point of interest on the map
Placemark(QObject *parent=nullptr)
Constructor.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:50:20 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.