NetworkSettingsManager QML Type
A singleton QML type for managing network settings. More...
|Import Statement:||import QtDeviceUtilities.NetworkSettings 1.0|
- NetworkInterface interface(int type, int instance)
- NetworkService service(string name, int type)
- 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().
Returns the interface with type type and order number of instance
See also NetworkInterface.
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().
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.