QNetworkSettingsType Class
The QNetworkSettingsType class represents the network interface type. More...
Header: | #include <QNetworkSettingsType> |
qmake: | QT += networksettings |
Inherits: | QObject |
Public Types
enum | Types { Wired, Wifi, Bluetooth, Unknown } |
Properties
- type : Types
- 1 property inherited from QObject
Public Functions
QNetworkSettingsType(QNetworkSettingsType::Types type, QObject *parent = Q_NULLPTR) | |
QNetworkSettingsType(QObject *parent = Q_NULLPTR) | |
void | setType(const QNetworkSettingsType::Types type) |
QNetworkSettingsType::Types | type() const |
- 31 public functions inherited from QObject
Signals
void | typeChanged() |
- 2 signals inherited from QObject
Static Public Members
const QMetaObject | staticMetaObject |
- 9 static public members inherited from QObject
Additional Inherited Members
Detailed Description
The QNetworkSettingsType class represents the network interface type.
See also QNetworkSettingsManager.
Member Type Documentation
enum QNetworkSettingsType::Types
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 : Types
This property holds the type of the network interface.
Access functions:
Notifier signal:
void | typeChanged() |
See also QNetworkSettingsType::Types.
Member Function Documentation
QNetworkSettingsType::QNetworkSettingsType(QNetworkSettingsType::Types type, QObject *parent = Q_NULLPTR)
Creates a new network interface type object with the type type and parent parent.
QNetworkSettingsType::QNetworkSettingsType(QObject *parent = Q_NULLPTR)
Creates a new network interface type object with the parent parent.
void QNetworkSettingsType::setType(const QNetworkSettingsType::Types type)
Sets the network interface type to type.
Note: Setter function for property type.
See also type().
QNetworkSettingsType::Types 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::Types.
© 2020 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.