• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Plasma

GeolocationProvider Class Reference

#include <geolocationprovider.h>

Inheritance diagram for GeolocationProvider:
Inheritance graph
[legend]

List of all members.

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

enum GeolocationProvider::UpdateTrigger
Enumerator:
ForcedUpdate 
SourceEvent 
NetworkConnected 

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.

void GeolocationProvider::setData ( const QString &  key,
const QVariant &  value 
) [protected, slot]

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]

Reimplemented in Gps, and Ip.

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:
  • geolocationprovider.h
  • geolocationprovider.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •     Animators
  •     Applets
  •     Engines
  • Solid Modules
  • System Settings
  •   SystemSettingsView
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal