![]() |
Home · All Classes · All Functions · | ![]() |
The QGeoSatelliteInfo class contains basic information about a satellite. More...
#include <QGeoSatelliteInfo>
enum | Property { Elevation, Azimuth } |
QGeoSatelliteInfo () | |
QGeoSatelliteInfo ( const QGeoSatelliteInfo & other ) | |
~QGeoSatelliteInfo () | |
bool | hasProperty ( Property property ) const |
int | prnNumber () const |
qreal | property ( Property property ) const |
void | removeProperty ( Property property ) |
void | setPrnNumber ( int prn ) |
void | setProperty ( Property property, qreal value ) |
void | setSignalStrength ( int signalStrength ) |
int | signalStrength () const |
bool | operator!= ( const QGeoSatelliteInfo & other ) const |
QGeoSatelliteInfo & | operator= ( const QGeoSatelliteInfo & other ) |
bool | operator== ( const QGeoSatelliteInfo & other ) const |
The QGeoSatelliteInfo class contains basic information about a satellite.
See also QGeoSatelliteInfoSource.
Defines the properties for the satellite information.
Constant | Value | Description |
---|---|---|
QGeoSatelliteInfo::Elevation | 0 | The elevation of the satellite, in degrees. |
QGeoSatelliteInfo::Azimuth | 1 | The azimuth to true north, in degrees. |
Creates a satellite information object.
Creates a satellite information object with the values of other.
Destroys a satellite information object.
Returns true if the specified property is present in this update.
Returns the PRN (Pseudo-random noise) number, or -1 if the value has not been set.
See also setPrnNumber().
Returns the value of the specified property as a qreal value.
Returns -1 if the value has not been set.
See also hasProperty() and setProperty().
Removes the specified property and its value.
Sets the PRN (Pseudo-random noise) number to prn.
The PRN number can be used to identify a satellite.
See also prnNumber().
Sets the value for property to value.
See also property().
Sets the signal strength to signalStrength, in decibels.
See also signalStrength().
Returns the signal strength, or -1 if the value has not been set.
See also setSignalStrength().
Returns true if any of the information for this satellite are not the same as those of other.
Assigns the values from other to this object.
Returns true if all the information for this satellite are the same as those of other.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 (Technology Preview) |