Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeorouteparserosrmv5_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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 QGEOROUTEPARSEROSRMV5_H
5
#define QGEOROUTEPARSEROSRMV5_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
19
#include <QtLocation/private/qgeorouteparser_p.h>
20
#include <QtCore/QUrlQuery>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QGeoRouteParserOsrmV5Private
;
25
26
class
Q_LOCATION_EXPORT
QGeoRouteParserOsrmV5Extension
27
{
28
public
:
29
QGeoRouteParserOsrmV5Extension
()
30
{
31
}
32
33
virtual
~QGeoRouteParserOsrmV5Extension
()
34
{
35
}
36
37
virtual
void
updateQuery
(
QUrlQuery
&
query
)
const
= 0;
38
virtual
void
updateSegment
(
QGeoRouteSegment
&
segment
,
const
QJsonObject
&step,
const
QJsonObject
&maneuver)
const
= 0;
39
};
40
41
class
Q_LOCATION_EXPORT
QGeoRouteParserOsrmV5
:
public
QGeoRouteParser
42
{
43
Q_OBJECT
44
Q_DECLARE_PRIVATE(
QGeoRouteParserOsrmV5
)
45
46
public
:
47
QGeoRouteParserOsrmV5
(
QObject
*parent =
nullptr
);
48
virtual
~QGeoRouteParserOsrmV5
();
49
50
void
setExtension(
const
QGeoRouteParserOsrmV5Extension
*
extension
);
51
52
private
:
53
Q_DISABLE_COPY(
QGeoRouteParserOsrmV5
)
54
};
55
56
QT_END_NAMESPACE
57
58
#endif
// QGEOROUTEPARSEROSRMV5_H
QGeoRouteParserOsrmV5Extension
Definition
qgeorouteparserosrmv5_p.h:27
QGeoRouteParserOsrmV5Extension::QGeoRouteParserOsrmV5Extension
QGeoRouteParserOsrmV5Extension()
Definition
qgeorouteparserosrmv5_p.h:29
QGeoRouteParserOsrmV5Extension::~QGeoRouteParserOsrmV5Extension
virtual ~QGeoRouteParserOsrmV5Extension()
Definition
qgeorouteparserosrmv5_p.h:33
QGeoRouteParserOsrmV5Extension::updateQuery
virtual void updateQuery(QUrlQuery &query) const =0
QGeoRouteParserOsrmV5Extension::updateSegment
virtual void updateSegment(QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const =0
QGeoRouteParserOsrmV5Private
Definition
qgeorouteparserosrmv5.cpp:775
QGeoRouteParserOsrmV5
Definition
qgeorouteparserosrmv5_p.h:42
QGeoRouteParser
Definition
qgeorouteparser_p.h:28
QGeoRouteSegment
\inmodule QtLocation
Definition
qgeoroutesegment.h:21
QJsonObject
\inmodule QtCore\reentrant
Definition
qjsonobject.h:20
QObject
\inmodule QtCore
Definition
qobject.h:103
QUrlQuery
\inmodule QtCore
Definition
qurlquery.h:20
extension
void extension()
[6]
Definition
dialogs.cpp:230
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
query
GLenum query
Definition
qopenglext.h:2738
segment
GLuint segment
Definition
qopenglext.h:9597
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
qtlocation
src
location
maps
qgeorouteparserosrmv5_p.h
Generated by
1.10.0