NetworkSettingsProxy QML Type

Encapsulates network proxy configuration. More...

Import Statement: import QtDeviceUtilities.NetworkSettings

Properties

Methods

Detailed Description

The NetworkSettingsProxy type cannot be instantiated directly.

See also NetworkService.proxy.

Property Documentation

excludes : object [read-only]

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().


excludes.count : int [read-only]

Holds the number of addresses in the excludes model.


method : enumeration

Holds the network proxy configuration method.

Possible values:

ConstantDescription
NetworkSettingsProxy.DirectDirect network connection, no proxy in use
NetworkSettingsProxy.AutoAutomatic proxy configuration
NetworkSettingsProxy.ManualManual proxy configuration

See also url.


servers : object [read-only]

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().


servers.count : int [read-only]

Holds the number of addresses in the servers model.


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.append(string address)

Adds address into the excludes model.


void excludes.remove(int index)

Removes the entry at index index from the excludes model.


void excludes.resetChanges()

Clears unsaved changes from the excludes model.


void servers.append(string address)

Adds address into the servers model.


void servers.remove(int index)

Removes the entry at index index from the servers 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.