14class Q_DECL_HIDDEN RouteItem::Private
31RouteItem::RouteItem(
const RouteItem &other)
32 : d(new Private(*other.d))
36RouteItem::~RouteItem()
41RouteItem &RouteItem::operator=(
const RouteItem &other)
47bool RouteItem::operator==(
const RouteItem &other)
const
49 return identifier() == other.identifier();
52QString RouteItem::identifier()
const
54 return d->m_identifier;
57void RouteItem::setIdentifier(
const QString ×tamp)
59 d->m_identifier = timestamp;
67void RouteItem::setName(
const QString &name)
72QIcon RouteItem::preview()
const
77void RouteItem::setPreview(
const QIcon &preview)
79 d->m_preview = preview;
82QUrl RouteItem::previewUrl()
const
84 return d->m_previewUrl;
87void RouteItem::setPreviewUrl(
const QUrl &previewUrl)
89 d->m_previewUrl = previewUrl;
92QString RouteItem::distance()
const
97void RouteItem::setDistance(
const QString &distance)
102QString RouteItem::duration()
const
104 return d->m_duration;
107void RouteItem::setDuration(
const QString &duration)
109 d->m_duration = duration;
112bool RouteItem::onCloud()
const
117void RouteItem::setOnCloud(
const bool onCloud)
119 d->m_onCloud = onCloud;
QString name(StandardAction id)
Binds a QML item to a specific geodetic location in screen coordinates.
KOSM_EXPORT double distance(const std::vector< const OSM::Node * > &path, Coordinate coord)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.