Get a list of Wireless Access Points that are in a defined region. More...
#include <Wigle.h>
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. | |
Get a list of Wireless Access Points that are in a defined region.
| Wigle::Wigle | ( | QString | user, | |
| QString | pass, | |||
| QObject * | parent = 0 | |||
| ) |
Deprecated. Construct an object which allows to query wigle.
| user | the username of the wigle account | |
| pass | the password of the wigle account |
| void Wigle::getAP | ( | int | nb, | |
| double | lat1, | |||
| double | lat2, | |||
| double | lng1, | |||
| double | lng2 | |||
| ) |
Get APs for the defined bounding box.
| 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.
| user | is the username | |
| pass | is the password |
1.6.3