Marble

RouteItem.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Utku Aydın <utkuaydin34@gmail.com>
4//
5
6#ifndef ROUTEITEM_H
7#define ROUTEITEM_H
8
9class QString;
10class QUrl;
11class QIcon;
12
13namespace Marble
14{
15
16class RouteItem
17{
18public:
19 RouteItem();
20 RouteItem(const RouteItem &other);
21 ~RouteItem();
22
23 RouteItem &operator=(const RouteItem &other);
24 bool operator==(const RouteItem &other) const;
25
26 QString identifier() const;
27 void setIdentifier(const QString &identifier);
28
29 QString name() const;
30 void setName(const QString &name);
31
32 QIcon preview() const;
33 void setPreview(const QIcon &preview);
34
35 QUrl previewUrl() const;
36 void setPreviewUrl(const QUrl &previewUrl);
37
38 QString distance() const;
39 void setDistance(const QString &distance);
40
41 QString duration() const;
42 void setDuration(const QString &duration);
43
44 bool onCloud() const;
45 void setOnCloud(const bool onCloud);
46
47private:
48 class Private;
49 Private *const d;
50};
51
52}
53
54#endif // ROUTEITEM_H
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:50:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.