QNetworkSettingsType Class
The QNetworkSettingsType class represents the network interface type. More...
Header: | #include <QNetworkSettingsType> |
qmake: | QT += networksettings |
Inherits: | QObject |
Public Types
enum | Type { Wired, Wifi, Bluetooth, Unknown } |
Properties
- type : Type
Public Functions
QNetworkSettingsType(QObject *parent = nullptr) | |
QNetworkSettingsType(QNetworkSettingsType::Type type, QObject *parent = nullptr) | |
void | setType(const QNetworkSettingsType::Type type) |
QNetworkSettingsType::Type | type() const |
Signals
void | typeChanged() |
See also QNetworkSettingsManager.
Member Type Documentation
enum QNetworkSettingsType::Type
This enum type holds the type of the network interface.
Constant | Value | Description |
---|---|---|
QNetworkSettingsType::Wired | 0 | Wired network |
QNetworkSettingsType::Wifi | 1 | Wifi network |
QNetworkSettingsType::Bluetooth | 2 | Bluetooth network |
QNetworkSettingsType::Unknown | 3 | Unknown network type |
Property Documentation
type : Type
This property holds the type of the network interface.
Access functions:
Notifier signal:
void | typeChanged() |
See also QNetworkSettingsType::Type.
Member Function Documentation
[explicit]
QNetworkSettingsType::QNetworkSettingsType(QObject *parent = nullptr)
Creates a new network interface type object with the parent parent.
[explicit]
QNetworkSettingsType::QNetworkSettingsType(QNetworkSettingsType::Type type, QObject *parent = nullptr)
Creates a new network interface type object with the type type and parent parent.
void QNetworkSettingsType::setType(const QNetworkSettingsType::Type type)
Sets the network interface type to type.
Note: Setter function for property type.
See also type().
QNetworkSettingsType::Type QNetworkSettingsType::type() const
Returns the network interface type.
Note: Getter function for property type.
See also setType().
[signal]
void QNetworkSettingsType::typeChanged()
This signal is emitted when the type of the network interface changes.
Note: Notifier signal for property type.
See also QNetworkSettingsType::Type.
© 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.