NetworkManager::VlanDevice Class
class NetworkManager::VlanDeviceA vlan device interface. More...
| Header: | #include <NetworkManagerQt/VlanDevice> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
| Inherits: | NetworkManager::Device |
Public Types
Properties
- carrier : const bool
- hwAddress : const QString
- parent : const NetworkManager::Device::Ptr
- vlanId : const uint
Public Functions
| VlanDevice(const QString &path, QObject *parent = nullptr) | |
| bool | carrier() const |
| QString | hwAddress() const |
| NetworkManager::Device::Ptr | parent() const |
| uint | vlanId() const |
Signals
| void | carrierChanged(bool plugged) |
| void | hwAddressChanged(const QString &address) |
| void | parentChanged(const QString &path) |
| void | vlanIdChanged(uint id) |
Detailed Description
Member Type Documentation
VlanDevice::List
VlanDevice::Ptr
Property Documentation
[read-only] carrier : const bool
Access functions:
| bool | carrier() const |
Notifier signal:
| void | carrierChanged(bool plugged) |
[read-only] hwAddress : const QString
Access functions:
| QString | hwAddress() const |
Notifier signal:
| void | hwAddressChanged(const QString &address) |
[read-only] parent : const NetworkManager::Device::Ptr
Access functions:
| NetworkManager::Device::Ptr | parent() const |
Notifier signal:
| void | parentChanged(const QString &path) |
[read-only] vlanId : const uint
Access functions:
| uint | vlanId() const |
Notifier signal:
| void | vlanIdChanged(uint id) |
Member Function Documentation
[explicit] VlanDevice::VlanDevice(const QString &path, QObject *parent = nullptr)
bool VlanDevice::carrier() const
Indicates whether the physical carrier is found
Note: Getter function for property carrier.
[signal] void VlanDevice::carrierChanged(bool plugged)
Emitted when the carrier of this device has changed
Note: Notifier signal for property carrier.
QString VlanDevice::hwAddress() const
Hardware address of the device
Note: Getter function for property hwAddress.
[signal] void VlanDevice::hwAddressChanged(const QString &address)
Emitted when the hardware address of this device has changed
Note: Notifier signal for property hwAddress.
NetworkManager::Device::Ptr VlanDevice::parent() const
The parent device of this VLAN device
Note: Getter function for property parent.
[signal] void VlanDevice::parentChanged(const QString &path)
Emitted when the parent device of this device has changed
Note: Notifier signal for property parent.
uint VlanDevice::vlanId() const
The VLAN ID of this VLAN interface
Note: Getter function for property vlanId.
[signal] void VlanDevice::vlanIdChanged(uint id)
Emitted when the VLAN ID of this device has changed
Note: Notifier signal for property vlanId.