Qt Network Settings C++ Classes

Provides functionality for controlling network settings. More...

Classes

QNetworkSettingsAddressModel

Represents a network interface address

QNetworkSettingsIPv4

Encapsulates IPv4 network configuration

QNetworkSettingsIPv6

Encapsulates IPv6 network configuration

QNetworkSettingsInterface

Represents a network interface

QNetworkSettingsInterfaceModel

Represents a network interface model

QNetworkSettingsManager

Asynchronous API to network settings

QNetworkSettingsProxy

Encapsulates network proxy configuration

QNetworkSettingsService

Represents a network service

QNetworkSettingsServiceFilter

Represents a network service filter

QNetworkSettingsServiceModel

Represents a network service

QNetworkSettingsState

Represents the network interface state

QNetworkSettingsType

Represents the network interface type

QNetworkSettingsUserAgent

Represents the user credentials for connecting to a network

QNetworkSettingsWireless

Encapsulates the configuration for a Wifi network service

Detailed Description

To use classes from this module, add this directive into the C++ files:

#include <QtNetworkSettings>

To link against the corresponding C++ libraries when using CMake to build you application, add the following to your CMakeLists.txt file:

find_package(Qt6 COMPONENTS NetworkSettings REQUIRED)
target_link_libraries(mytarget Qt6::NetworkSettings)

Or if you are using qmake to build your application, add the following line to your qmake .pro project file:

QT += networksettings

© 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.