Wigle Class Reference

Get a list of Wireless Access Points that are in a defined region. More...

#include <Wigle.h>

List of all members.

Public Slots

void logged (QNetworkReply *)
 SLOT called if login is done.
void parse (QNetworkReply *)
 SLOT called upon reception of WiGlE data. parses it.

Signals

void finished (QHash< QString, QGeoCoordinate > aps)

Public Member Functions

 Wigle (QObject *parent=0)
 Construct an object which allows to query wigle.
 Wigle (QString user, QString pass, QObject *parent=0)
 Deprecated. Construct an object which allows to query wigle.
void getAP (int nb, double lat1, double lat2, double lng1, double lng2)
 Get APs for the defined bounding box.
void setCredentials (QString user, QString pass)
 Set the credential required to query wigle.

Detailed Description

Get a list of Wireless Access Points that are in a defined region.


Constructor & Destructor Documentation

Wigle::Wigle ( QString  user,
QString  pass,
QObject *  parent = 0 
)

Deprecated. Construct an object which allows to query wigle.

Parameters:
user the username of the wigle account
pass the password of the wigle account

Member Function Documentation

void Wigle::getAP ( int  nb,
double  lat1,
double  lat2,
double  lng1,
double  lng2 
)

Get APs for the defined bounding box.

Parameters:
nb i the max number of AP, 0 means unlimited
lat1 is the ___ latitude
lat2 is the ___ latitude
lng1 is the ___ longitude
lng2 is the ___ longitude
void Wigle::logged ( QNetworkReply *  netReply  )  [slot]

SLOT called if login is done.

The auth is now saved in a cookie and we can use the networkManger object to query WiGlE

void Wigle::setCredentials ( QString  user,
QString  pass 
)

Set the credential required to query wigle.

Parameters:
user is the username
pass is the password

The documentation for this class was generated from the following files:
Generated on Thu Jun 24 21:31:43 2010 for PrivL by  doxygen 1.6.3