LiblocationWrapper Class Reference
LiblocationWrapper class is a wrapper for liblocation library.
More...
#include <liblocationwrapper.h>
List of all members.
Detailed Description
LiblocationWrapper class is a wrapper for liblocation library.
Member Enumeration Documentation
Constructor & Destructor Documentation
LiblocationWrapper::~LiblocationWrapper |
( |
|
) |
|
Destructor.
Releases m_control and m_device objects.
Member Function Documentation
void LiblocationWrapper::changed |
( |
LocationGPSDevice * |
device, |
|
|
gpointer |
data | |
|
) |
| | [static, private] |
Called from liblocation when GPS location changes.
- Parameters:
-
| device | LocationGPSDevice |
| data | qpointer |
void LiblocationWrapper::error |
( |
LocationGPSDevice * |
device, |
|
|
gpointer |
data | |
|
) |
| | [static, private] |
Called from liblocation when there is an error on GPS.
- Parameters:
-
| device | LocationGPSDevice |
| data | qpointer |
void LiblocationWrapper::errorMessage |
( |
const QString & |
message |
) |
[signal] |
Signal for error.
- Parameters:
-
void LiblocationWrapper::init |
( |
int |
updateInterval |
) |
|
Initializes GPS with update interval.
- Parameters:
-
| updateInterval | update interval in milliseconds |
bool LiblocationWrapper::isRunning |
( |
|
) |
|
Checks if GPS is running.
- Returns:
- true if running, false otherwise
void LiblocationWrapper::locationChanged |
( |
const GeoPositionInfo & |
positionInfo |
) |
[signal] |
Signal for location change.
- Parameters:
-
void LiblocationWrapper::setLastKnownPosition |
( |
const GeoPositionInfo & |
positionInfo |
) |
|
Sets last known position.
- Parameters:
-
void LiblocationWrapper::setState |
( |
int |
state |
) |
[private] |
int LiblocationWrapper::state |
( |
|
) |
[private] |
Returns state.
State state
The documentation for this class was generated from the following files: