Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgeomaneuver_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOMANEUVER_P_H
5#define QGEOMANEUVER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtLocation/private/qlocationglobal_p.h>
19#include <QtLocation/qgeomaneuver.h>
20#include <QtPositioning/qgeocoordinate.h>
21
22#include <QSharedData>
23#include <QString>
24
26
28{
29public:
30 bool equals(const QGeoManeuverPrivate &other) const;
31
32 bool valid() const;
33 void setValid(bool valid);
34
35 QString id() const;
36 void setId(const QString &id);
37
40
41 QString text() const;
42 void setText(const QString &text);
43
46
47 int timeToNextInstruction() const;
49
52
55
58
67 bool m_valid = false;
68};
69
71
72#endif
\inmodule QtPositioning
QGeoCoordinate position() const
bool equals(const QGeoManeuverPrivate &other) const
qreal distanceToNextInstruction() const
QGeoCoordinate m_waypoint
QVariantMap m_extendedAttributes
QGeoCoordinate waypoint() const
QString text() const
QGeoManeuver::InstructionDirection m_direction
void setTimeToNextInstruction(int timeToNextInstruction)
QGeoManeuver::InstructionDirection direction() const
void setId(const QString &id)
void setText(const QString &text)
void setValid(bool valid)
void setDirection(QGeoManeuver::InstructionDirection direction)
QString id() const
int timeToNextInstruction() const
QVariantMap extendedAttributes() const
void setDistanceToNextInstruction(qreal distanceToNextInstruction)
void setExtendedAttributes(const QVariantMap &extendedAttributes)
QGeoCoordinate m_position
void setWaypoint(const QGeoCoordinate &waypoint)
\inmodule QtCore
Definition qshareddata.h:19
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
Combined button and popup list for selecting options.
n void setPosition(void) \n\
double qreal
Definition qtypes.h:92
QSharedPointer< T > other(t)
[5]