Additional Inherited Members

Detailed Description

QWifiManager is a singleton class that handles Wifi-related tasks. You can use QWifiManager to control the Wifi backend, scan for Wifi access points, and connect to a wireless network.

QWifiManager packs the scan results in a list-based data model, which can be used with Qt's Model/View classes. Information about a Wifi network can be accessed using the QWifiManager::Roles data roles.

Returns a list-based data model of networks that can be sensed by a device. Model can be used with Qt's Model/View classes such as QListView. Data in the model is updated every 5 seconds if scanning is enabled.

Member Function Documentation

[virtual] QWifiManager::~QWifiManager()

Connect a device to a network using the config network configuration. This method returns true if the network with the provided configuration could be successfully added by the backend or false on failure. Use lastError() to obtain the error message on failure.