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
15class RouteItem {
16
17public:
18 RouteItem();
19 RouteItem( const RouteItem &other );
20 ~RouteItem();
21
22 RouteItem& operator=(const RouteItem &other);
23 bool operator==( const RouteItem &other ) const;
24
25 QString identifier() const;
26 void setIdentifier( const QString &identifier );
27
28 QString name() const;
29 void setName( const QString &name );
30
31 QIcon preview() const;
32 void setPreview(const QIcon &preview );
33
34 QUrl previewUrl() const;
35 void setPreviewUrl( const QUrl &previewUrl );
36
37 QString distance() const;
38 void setDistance( const QString &distance );
39
40 QString duration() const;
41 void setDuration( const QString &duration );
42
43 bool onCloud() const;
44 void setOnCloud( const bool onCloud );
45
46private:
47 class Private;
48 Private *d;
49};
50
51}
52
53#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 Tue Mar 26 2024 11:18:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.