Plasma
GeolocationProvider Class Reference
#include <geolocationprovider.h>

Public Types | |
| enum | UpdateTrigger { ForcedUpdate = 0, SourceEvent = 1, NetworkConnected = 2 } |
Signals | |
| void | availabilityChanged (GeolocationProvider *provider) |
| void | updated () |
Public Member Functions | |
| GeolocationProvider (QObject *parent=0, const QVariantList &args=QVariantList()) | |
| int | accuracy () const |
| void | init (Plasma::DataEngine::Data *data, EntryAccuracy *accuracies) |
| bool | isAvailable () const |
| bool | populateSharedData () |
| bool | requestUpdate (UpdateTriggers trigger) |
| UpdateTriggers | updateTriggers () const |
Protected Slots | |
| void | setData (const QString &key, const QVariant &value) |
| void | setData (const Plasma::DataEngine::Data &data) |
Protected Member Functions | |
| virtual void | init () |
| void | setAccuracy (int accuracy) |
| void | setIsAvailable (bool available) |
| void | setUpdateTriggers (UpdateTriggers triggers) |
| virtual void | update () |
Detailed Description
Definition at line 31 of file geolocationprovider.h.
Member Enumeration Documentation
Definition at line 36 of file geolocationprovider.h.
Constructor & Destructor Documentation
| GeolocationProvider::GeolocationProvider | ( | QObject * | parent = 0, |
|
| const QVariantList & | args = QVariantList() | |||
| ) |
Definition at line 20 of file geolocationprovider.cpp.
Member Function Documentation
| int GeolocationProvider::accuracy | ( | ) | const |
Definition at line 43 of file geolocationprovider.cpp.
| void GeolocationProvider::availabilityChanged | ( | GeolocationProvider * | provider | ) | [signal] |
| void GeolocationProvider::init | ( | ) | [protected, virtual] |
Definition at line 128 of file geolocationprovider.cpp.
| void GeolocationProvider::init | ( | Plasma::DataEngine::Data * | data, | |
| EntryAccuracy * | accuracies | |||
| ) |
Definition at line 36 of file geolocationprovider.cpp.
| bool GeolocationProvider::isAvailable | ( | ) | const |
Definition at line 48 of file geolocationprovider.cpp.
| bool GeolocationProvider::populateSharedData | ( | ) |
Definition at line 69 of file geolocationprovider.cpp.
| bool GeolocationProvider::requestUpdate | ( | UpdateTriggers | trigger | ) |
| void GeolocationProvider::setAccuracy | ( | int | accuracy | ) | [protected] |
Definition at line 87 of file geolocationprovider.cpp.
Definition at line 111 of file geolocationprovider.cpp.
| void GeolocationProvider::setData | ( | const Plasma::DataEngine::Data & | data | ) | [protected, slot] |
Definition at line 102 of file geolocationprovider.cpp.
| void GeolocationProvider::setIsAvailable | ( | bool | available | ) | [protected] |
Definition at line 92 of file geolocationprovider.cpp.
| void GeolocationProvider::setUpdateTriggers | ( | UpdateTriggers | triggers | ) | [protected] |
Definition at line 123 of file geolocationprovider.cpp.
| void GeolocationProvider::update | ( | ) | [protected, virtual] |
Definition at line 132 of file geolocationprovider.cpp.
| void GeolocationProvider::updated | ( | ) | [signal] |
| GeolocationProvider::UpdateTriggers GeolocationProvider::updateTriggers | ( | ) | const |
Definition at line 64 of file geolocationprovider.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference