KOSMIndoorMap::OSMElement

Search for usage in LXR

KOSMIndoorMap::OSMElement Class Reference

#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

QPointF KOSMIndoorMap::OSMElement::center
read

Definition at line 28 of file osmelement.h.

◆ element

OSM::Element KOSMIndoorMap::OSMElement::element
read

Definition at line 27 of file osmelement.h.

◆ id

qint64 KOSMIndoorMap::OSMElement::id
read

Definition at line 24 of file osmelement.h.

◆ isNull

bool KOSMIndoorMap::OSMElement::isNull
read

Definition at line 23 of file osmelement.h.

◆ name

QString KOSMIndoorMap::OSMElement::name
read

Definition at line 25 of file osmelement.h.

◆ url

QString KOSMIndoorMap::OSMElement::url
read

Definition at line 26 of file osmelement.h.

Constructor & Destructor Documentation

◆ OSMElement()

OSMElement::OSMElement ( OSM::Element e)
explicit

Definition at line 15 of file osmelement.cpp.

Member Function Documentation

◆ center()

QPointF OSMElement::center ( ) const
nodiscard

Definition at line 42 of file osmelement.cpp.

◆ element()

OSM::Element OSMElement::element ( ) const
nodiscard

Definition at line 66 of file osmelement.cpp.

◆ id()

qint64 OSMElement::id ( ) const
nodiscard

Definition at line 27 of file osmelement.cpp.

◆ isNull()

bool OSMElement::isNull ( ) const
nodiscard

Definition at line 22 of file osmelement.cpp.

◆ name()

QString OSMElement::name ( ) const
nodiscard

Definition at line 32 of file osmelement.cpp.

◆ tagValue()

QString OSMElement::tagValue ( const QJSValue & key) const
nodiscard

Definition at line 48 of file osmelement.cpp.

◆ url()

QString OSMElement::url ( ) const
nodiscard

Definition at line 37 of file osmelement.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:57:47 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.