7#include <QtLocation/QGeoRouteRequest>
9#include <QtCore/QObject>
10#include <QtCore/QExplicitlySharedDataPointer>
11#include <QtCore/QList>
13#include "QtQml/qqml.h"
48 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QGeoRoute)
53 {
return lhs.isEqual(rhs); }
55 {
return !lhs.isEqual(rhs); }
57 void setRouteId(
const QString &
id);
92 void setOverallRoute(
const QGeoRoute &route);
103 friend class QDeclarativeGeoRoute;
static bool isEqual(const aiUVTransform &a, const aiUVTransform &b)
void setLegIndex(int idx)
QVariantMap extendedAttributes() const
void setTravelTime(int travelTime)
void setDistance(qreal distance)
void setTravelMode(QGeoRouteRequest::TravelMode mode)
int segmentsCount() const
void setRouteLegs(const QList< QGeoRoute > &legs)
void setBounds(const QGeoRectangle &bounds)
QList< QGeoRoute > routeLegs() const
QGeoRouteRequest::TravelMode travelMode() const
QGeoRectangle bounds() const
void setExtendedAttributes(const QVariantMap &extendedAttributes)
void setPath(const QList< QGeoCoordinate > &path)
void setRequest(const QGeoRouteRequest &request)
TravelMode
Defines modes of travel to be used for a route.
void swap(QGeoRoute &other) noexcept
friend bool operator==(const QGeoRoute &lhs, const QGeoRoute &rhs) noexcept
Returns whether the routes lhs and rhs are equal.
friend bool operator!=(const QGeoRoute &lhs, const QGeoRoute &rhs) noexcept
Returns whether the routes lhs and rhs are not equal.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLsizei GLsizei GLfloat distance
GLsizei const GLchar *const * path
#define QML_VALUE_TYPE(NAME)
#define QML_STRUCTURED_VALUE
#define QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(Class, ExportMacro)
QNetworkRequest request(url)