KOSMIndoorMap::OSMElement
#include <osmelement.h>
Properties | |
QPointF | center |
OSM::Element | element |
qint64 | id |
bool | isNull |
QString | name |
QString | url |
Public Member Functions | |
OSMElement (OSM::Element e) | |
QPointF | center () const |
OSM::Element | element () const |
qint64 | id () const |
bool | isNull () const |
QString | name () const |
bool | operator== (const OSMElement &) const =default |
Q_INVOKABLE QString | tagValue (const QJSValue &key) const |
QString | url () const |
Detailed Description
QML wrapper around an OSM element.
Definition at line 20 of file osmelement.h.
Property Documentation
◆ center
|
read |
Definition at line 28 of file osmelement.h.
◆ element
|
read |
Definition at line 27 of file osmelement.h.
◆ id
|
read |
Definition at line 24 of file osmelement.h.
◆ isNull
|
read |
Definition at line 23 of file osmelement.h.
◆ name
|
read |
Definition at line 25 of file osmelement.h.
◆ url
|
read |
Definition at line 26 of file osmelement.h.
Constructor & Destructor Documentation
◆ OSMElement()
|
explicit |
Definition at line 15 of file osmelement.cpp.
Member Function Documentation
◆ center()
|
nodiscard |
Definition at line 42 of file osmelement.cpp.
◆ element()
|
nodiscard |
Definition at line 66 of file osmelement.cpp.
◆ id()
|
nodiscard |
Definition at line 27 of file osmelement.cpp.
◆ isNull()
|
nodiscard |
Definition at line 22 of file osmelement.cpp.
◆ name()
|
nodiscard |
Definition at line 32 of file osmelement.cpp.
◆ tagValue()
Definition at line 48 of file osmelement.cpp.
◆ url()
|
nodiscard |
Definition at line 37 of file osmelement.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.