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
QGeoManeuverPrivate Class Reference

#include <qgeomaneuver_p.h>

+ Inheritance diagram for QGeoManeuverPrivate:
+ Collaboration diagram for QGeoManeuverPrivate:

Public Member Functions

bool equals (const QGeoManeuverPrivate &other) const
 
bool valid () const
 
void setValid (bool valid)
 
QString id () const
 
void setId (const QString &id)
 
QGeoCoordinate position () const
 
void setPosition (const QGeoCoordinate &position)
 
QString text () const
 
void setText (const QString &text)
 
QGeoManeuver::InstructionDirection direction () const
 
void setDirection (QGeoManeuver::InstructionDirection direction)
 
int timeToNextInstruction () const
 
void setTimeToNextInstruction (int timeToNextInstruction)
 
qreal distanceToNextInstruction () const
 
void setDistanceToNextInstruction (qreal distanceToNextInstruction)
 
QGeoCoordinate waypoint () const
 
void setWaypoint (const QGeoCoordinate &waypoint)
 
QVariantMap extendedAttributes () const
 
void setExtendedAttributes (const QVariantMap &extendedAttributes)
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

QString m_id
 
QGeoCoordinate m_position
 
QString m_text
 
QGeoCoordinate m_waypoint
 
QVariantMap m_extendedAttributes
 
qreal m_distanceToNextInstruction = 0.0
 
QGeoManeuver::InstructionDirection m_direction = QGeoManeuver::NoDirection
 
int m_timeToNextInstruction = 0
 
bool m_valid = false
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 27 of file qgeomaneuver_p.h.

Member Function Documentation

◆ direction()

QGeoManeuver::InstructionDirection QGeoManeuverPrivate::direction ( ) const

Definition at line 423 of file qgeomaneuver.cpp.

References m_direction.

Referenced by QGeoManeuver::direction(), equals(), and setDirection().

+ Here is the caller graph for this function:

◆ distanceToNextInstruction()

qreal QGeoManeuverPrivate::distanceToNextInstruction ( ) const

Definition at line 443 of file qgeomaneuver.cpp.

References m_distanceToNextInstruction.

Referenced by QGeoManeuver::distanceToNextInstruction(), equals(), and setDistanceToNextInstruction().

+ Here is the caller graph for this function:

◆ equals()

bool QGeoManeuverPrivate::equals ( const QGeoManeuverPrivate & other) const

Definition at line 369 of file qgeomaneuver.cpp.

References direction(), distanceToNextInstruction(), other(), position(), text(), timeToNextInstruction(), valid(), and waypoint().

+ Here is the call graph for this function:

◆ extendedAttributes()

QVariantMap QGeoManeuverPrivate::extendedAttributes ( ) const

Definition at line 463 of file qgeomaneuver.cpp.

References m_extendedAttributes.

Referenced by QGeoManeuver::extendedAttributes(), and setExtendedAttributes().

+ Here is the caller graph for this function:

◆ id()

QString QGeoManeuverPrivate::id ( ) const

Definition at line 393 of file qgeomaneuver.cpp.

References m_id.

Referenced by setId().

+ Here is the caller graph for this function:

◆ position()

QGeoCoordinate QGeoManeuverPrivate::position ( ) const

Definition at line 403 of file qgeomaneuver.cpp.

References m_position.

Referenced by equals(), QGeoManeuver::position(), and setPosition().

+ Here is the caller graph for this function:

◆ setDirection()

void QGeoManeuverPrivate::setDirection ( QGeoManeuver::InstructionDirection direction)

Definition at line 428 of file qgeomaneuver.cpp.

References direction(), and m_direction.

Referenced by QGeoManeuver::setDirection().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDistanceToNextInstruction()

void QGeoManeuverPrivate::setDistanceToNextInstruction ( qreal distanceToNextInstruction)

Definition at line 448 of file qgeomaneuver.cpp.

References distanceToNextInstruction(), and m_distanceToNextInstruction.

Referenced by QGeoManeuver::setDistanceToNextInstruction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setExtendedAttributes()

void QGeoManeuverPrivate::setExtendedAttributes ( const QVariantMap & extendedAttributes)

Definition at line 468 of file qgeomaneuver.cpp.

References extendedAttributes(), and m_extendedAttributes.

Referenced by QGeoManeuver::setExtendedAttributes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setId()

void QGeoManeuverPrivate::setId ( const QString & id)

Definition at line 398 of file qgeomaneuver.cpp.

References id(), and m_id.

+ Here is the call graph for this function:

◆ setPosition()

void QGeoManeuverPrivate::setPosition ( const QGeoCoordinate & position)

Definition at line 408 of file qgeomaneuver.cpp.

References m_position, and position().

Referenced by QGeoManeuver::setPosition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setText()

void QGeoManeuverPrivate::setText ( const QString & text)

Definition at line 418 of file qgeomaneuver.cpp.

References m_text, and text().

Referenced by QGeoManeuver::setInstructionText().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTimeToNextInstruction()

void QGeoManeuverPrivate::setTimeToNextInstruction ( int timeToNextInstruction)

Definition at line 438 of file qgeomaneuver.cpp.

References m_timeToNextInstruction, and timeToNextInstruction().

Referenced by QGeoManeuver::setTimeToNextInstruction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setValid()

void QGeoManeuverPrivate::setValid ( bool valid)

Definition at line 388 of file qgeomaneuver.cpp.

References m_valid, and valid().

Referenced by QGeoManeuver::setDirection(), QGeoManeuver::setDistanceToNextInstruction(), QGeoManeuver::setExtendedAttributes(), QGeoManeuver::setInstructionText(), QGeoManeuver::setPosition(), QGeoManeuver::setTimeToNextInstruction(), and QGeoManeuver::setWaypoint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setWaypoint()

void QGeoManeuverPrivate::setWaypoint ( const QGeoCoordinate & waypoint)

Definition at line 458 of file qgeomaneuver.cpp.

References m_waypoint, and waypoint().

Referenced by QGeoManeuver::setWaypoint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ text()

QString QGeoManeuverPrivate::text ( ) const

Definition at line 413 of file qgeomaneuver.cpp.

References m_text.

Referenced by equals(), QGeoManeuver::instructionText(), and setText().

+ Here is the caller graph for this function:

◆ timeToNextInstruction()

int QGeoManeuverPrivate::timeToNextInstruction ( ) const

Definition at line 433 of file qgeomaneuver.cpp.

References m_timeToNextInstruction.

Referenced by equals(), setTimeToNextInstruction(), and QGeoManeuver::timeToNextInstruction().

+ Here is the caller graph for this function:

◆ valid()

bool QGeoManeuverPrivate::valid ( ) const

Definition at line 383 of file qgeomaneuver.cpp.

References m_valid.

Referenced by equals(), QGeoManeuver::isValid(), and setValid().

+ Here is the caller graph for this function:

◆ waypoint()

QGeoCoordinate QGeoManeuverPrivate::waypoint ( ) const

Definition at line 453 of file qgeomaneuver.cpp.

References m_waypoint.

Referenced by equals(), setWaypoint(), and QGeoManeuver::waypoint().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_direction

Definition at line 65 of file qgeomaneuver_p.h.

Referenced by direction(), and setDirection().

◆ m_distanceToNextInstruction

qreal QGeoManeuverPrivate::m_distanceToNextInstruction = 0.0

Definition at line 64 of file qgeomaneuver_p.h.

Referenced by distanceToNextInstruction(), and setDistanceToNextInstruction().

◆ m_extendedAttributes

QVariantMap QGeoManeuverPrivate::m_extendedAttributes

Definition at line 63 of file qgeomaneuver_p.h.

Referenced by extendedAttributes(), and setExtendedAttributes().

◆ m_id

QString QGeoManeuverPrivate::m_id

Definition at line 59 of file qgeomaneuver_p.h.

Referenced by id(), and setId().

◆ m_position

QGeoCoordinate QGeoManeuverPrivate::m_position

Definition at line 60 of file qgeomaneuver_p.h.

Referenced by position(), and setPosition().

◆ m_text

QString QGeoManeuverPrivate::m_text

Definition at line 61 of file qgeomaneuver_p.h.

Referenced by setText(), and text().

◆ m_timeToNextInstruction

int QGeoManeuverPrivate::m_timeToNextInstruction = 0

Definition at line 66 of file qgeomaneuver_p.h.

Referenced by setTimeToNextInstruction(), and timeToNextInstruction().

◆ m_valid

bool QGeoManeuverPrivate::m_valid = false

Definition at line 67 of file qgeomaneuver_p.h.

Referenced by setValid(), and valid().

◆ m_waypoint

QGeoCoordinate QGeoManeuverPrivate::m_waypoint

Definition at line 62 of file qgeomaneuver_p.h.

Referenced by setWaypoint(), and waypoint().


The documentation for this class was generated from the following files: