summaryrefslogtreecommitdiffstats
path: root/src/imports/wifi/qwifimanager.h
Commit message (Collapse)AuthorAgeFilesLines
* [Wifi] Add new enums and make some API changesGatis Paeglis2014-04-071-5/+11
| | | | | | | | | | | | | | | - Now QtWifi can provide feedback when incorrect password is entered. - networkStateChanged signal provides a reference to the currently active network connection. - bug fixes in QWifiManager::connect Task-number: QTEE-408 Change-Id: Ic7458b864f09aef3cfca40fb081dec45e0bba7db Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Rename misleading class nameGatis Paeglis2014-03-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | The API is: ListView { model: wifiManager.networks } currently if user calls print(wifiManager.networks) it will print: QWifiNetworkList The docs of ListView states that model property expects a subclass of QAbstractListModel. QWifiNetworkList sounds like a subclass of QList which is misleading. This patch renames the class to QWifiNetworkListModel. This does not change the public API (doesn't brake compatibility in any way), just improves the documentation of library. Task-number: QTEE-445 Change-Id: I71f07cb22617f3a7f41a0403d1c63c4357310325 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Update copyright yearaavit2014-02-121-1/+1
| | | | | Change-Id: Ic818e79d7bfca04bd8a8d8aa12b3ff70ea26a7a3 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
* Make sure that wifi event thread doesn't block on exitGatis Paeglis2014-01-301-2/+2
| | | | | | | | | After setting m_exitEventThread to True we need to generate wifi event, otherwise there might be cases that we block in wifi_wait_for_event and wifi event thread never exits. Change-Id: I699ca0c25e23abc7045c1850bf773443bac897e8 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Fix dhcp issues and improve public APIGatis Paeglis2014-01-281-30/+35
| | | | | | | | | | | | | | | | | | | | | - Use qconnectivity daemon for dhcp requests. Since dhcp requests are executed in other process we don't block gui thread for this lengthy operation. - Why not to use "do_dhcp_request" - it is a legacy implementation of a dhcp client and is not used anywhere in the Android source code itself. It appears that do_dhcp_request was not removed from the libhardware_legacy to keep compatibility for others, whose code might still depend on it. - Differnet changes to the internal implementation and the public API. - Add 'Interface' singleton type, installing a singleton type allows developers to provide arbitrary functionality to a client without requiring individual instances of the type to be instantiated by the client. We use this to determine if Android has wifi interface. Change-Id: I836f3a2a587b1ebf9f670ed08b10fe3483504b9e Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Add license headersTopi Reinio2013-12-031-0/+18
| | | | | | | Add an Enterprise License header to source files. Change-Id: I373886dade31ce00d4c10c64ebaf8ba226d5a62d Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Snapshot of wifi module development, from customer projectaavit2013-08-051-0/+2
| | | | | | | Corresponds to 0c397d2287d33b08501c48e029306b8908583e6a of github repo Change-Id: I60c140513255394b6728ddd0ff85ac79fa5e88b9 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* Moved wifi to its own importable moduleGunnar Sletta2013-03-211-0/+79