Qt Simulator Manual

LocationScriptInterface Class Reference

Exposed as location. More...

 #include <LocationScriptInterface>

Properties

Public Functions

LocationScriptInterface ( LocationUi * ui )
virtual ~LocationScriptInterface ()
double altitude () const
qreal azimuth ( int satellite ) const
qreal direction () const
qreal elevation ( int satellite ) const
qreal groundSpeed () const
qreal horizontalAccuracy () const
bool inUse ( int satellite ) const
double latitude () const
double longitude () const
qreal magneticVariation () const
QList<int> satellites () const
void setAltitude ( double )
void setDirection ( qreal )
void setGroundSpeed ( qreal )
void setHorizontalAccuracy ( qreal )
void setLatitude ( double )
void setLongitude ( double )
void setMagneticVariation ( qreal )
void setTimestamp ( const QDateTime & dt )
void setUseCurrentTimestamp ( bool )
void setVerticalAccuracy ( qreal )
void setVerticalSpeed ( qreal )
int signalStrength ( int satellite ) const
QDateTime timestamp () const
bool useCurrentTimestamp () const
qreal verticalAccuracy () const
qreal verticalSpeed () const

Public Slots

bool addSatellite ( int prn )
bool addSatellite ( int prn, qreal elevation, qreal azimuth, int signalStrength, bool inUse )
bool removeSatellite ( int prn )
bool setAzimuth ( int prn, qreal azimuth )
bool setElevation ( int prn, qreal elevation )
bool setInUse ( int prn, bool inUse )
bool setPrn ( int oldPrn, int newPrn )
bool setSignalStrength ( int prn, int signalStrength )

Detailed Description

Exposed as location.

Property Documentation

altitude : double

Access functions:

double altitude () const
void setAltitude ( double )

direction : qreal

Access functions:

qreal direction () const
void setDirection ( qreal )

groundSpeed : qreal

Access functions:

qreal groundSpeed () const
void setGroundSpeed ( qreal )

horizontalAccuracy : qreal

Access functions:

qreal horizontalAccuracy () const
void setHorizontalAccuracy ( qreal )

latitude : double

Access functions:

double latitude () const
void setLatitude ( double )

longitude : double

Access functions:

double longitude () const
void setLongitude ( double )

magneticVariation : qreal

Access functions:

qreal magneticVariation () const
void setMagneticVariation ( qreal )

timestamp : QDateTime

Access functions:

QDateTime timestamp () const
void setTimestamp ( const QDateTime & dt )

useCurrentTimestamp : bool

Access functions:

bool useCurrentTimestamp () const
void setUseCurrentTimestamp ( bool )

verticalAccuracy : qreal

Access functions:

qreal verticalAccuracy () const
void setVerticalAccuracy ( qreal )

verticalSpeed : qreal

Access functions:

qreal verticalSpeed () const
void setVerticalSpeed ( qreal )

Member Function Documentation

LocationScriptInterface::LocationScriptInterface ( LocationUi * ui )

LocationScriptInterface::~LocationScriptInterface () [virtual]

bool LocationScriptInterface::addSatellite ( int prn ) [slot]

bool LocationScriptInterface::addSatellite ( int prn, qreal elevation, qreal azimuth, int signalStrength, bool inUse ) [slot]

qreal LocationScriptInterface::azimuth ( int satellite ) const

See also setAzimuth().

qreal LocationScriptInterface::elevation ( int satellite ) const

See also setElevation().

bool LocationScriptInterface::inUse ( int satellite ) const

See also setInUse().

bool LocationScriptInterface::removeSatellite ( int prn ) [slot]

QList<int> LocationScriptInterface::satellites () const

bool LocationScriptInterface::setAzimuth ( int prn, qreal azimuth ) [slot]

See also azimuth().

bool LocationScriptInterface::setElevation ( int prn, qreal elevation ) [slot]

See also elevation().

bool LocationScriptInterface::setInUse ( int prn, bool inUse ) [slot]

See also inUse().

bool LocationScriptInterface::setPrn ( int oldPrn, int newPrn ) [slot]

bool LocationScriptInterface::setSignalStrength ( int prn, int signalStrength ) [slot]

See also signalStrength().

int LocationScriptInterface::signalStrength ( int satellite ) const

See also setSignalStrength().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

s.parentNode.insertBefore(ga, s); })(); -->