NetworkSettingsProxy QML Type
Encapsulates network proxy configuration. More...
Import Statement: | import QtDeviceUtilities.NetworkSettings |
Properties
- excludes : object
- excludes.count : int
- method : enumeration
- servers : object
- servers.count : int
- url : url
Methods
- void excludes.append(string address)
- void excludes.remove(int index)
- void excludes.resetChanges()
- void servers.append(string address)
- void servers.remove(int index)
- void servers.resetChanges()
Detailed Description
The NetworkSettingsProxy type cannot be instantiated directly.
See also NetworkService.proxy.
Property Documentation
excludes : object |
The model containing the proxy exclusion list.
The addresses in the proxy exclusion list are accessed directly, instead of forwarding the requests to a proxy.
The excludes property can be used as a model for a view that lists the proxy exclusion addresses.
See also excludes.count, excludes.append(), excludes.remove(), and excludes.resetChanges().
method : enumeration |
Holds the network proxy configuration method.
Possible values:
Constant | Description |
---|---|
NetworkSettingsProxy.Direct | Direct network connection, no proxy in use |
NetworkSettingsProxy.Auto | Automatic proxy configuration |
NetworkSettingsProxy.Manual | Manual proxy configuration |
See also url.
servers : object |
The model containing the proxy servers.
The servers property can be used as a model for a view that lists the proxy servers.
See also servers.count, servers.append(), servers.remove(), and servers.resetChanges().
url : url |
Holds the proxy URL.
For manual proxy configuration, the url holds the proxy server address. For automatic configuration, it holds the proxy auto-config URL.
See also method.
Method Documentation
void excludes.resetChanges() |
Clears unsaved changes from the excludes model.
void servers.resetChanges() |
Clears unsaved changes from the servers model.
© 2024 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.