NetworkSettingsManager QML Type
A singleton QML type for managing network settings. More...
|Import Statement:||import QtDeviceUtilities.NetworkSettings 1.0|
- NetworkService service(string name, int type)
- void userAgent.cancelInput()
- void userAgent.setPassphrase(string passphrase)
There is no need to create an instance of this object. To use it, simply import the
Holds the service model.
The services list in the model can be controlled with the
type property, and NetworkService items can be retrieved with the
itemFromRow(int index) method. For example, to select the first available wired network service:
property var service: null ... NetworkSettingsManager.services.type = NetworkSettingsType.Wired; service = NetworkSettingsManager.services.itemFromRow(0);
Available service types:
|Unknown network type|
See also NetworkService.
This signal is emitted when the connection failed due to invalid user credentials.
This signal is emitted when user credentials are required for connecting to a Wifi network.
See also userAgent.setPassphrase().
NetworkService service(string name, int type)
Returns the service with name name and type type.
See also services.
Sets the passphrase for connecting to a Wifi network.
This method needs to be called in response to receiving a showUserCredentialsInput() signal.
See also userAgent.showUserCredentialsInput().
Available under certain Qt licenses.
Find out more.