NetworkManager::VlanDevice Class
A 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
List of all members, including inherited members
Public Types
Properties
- [read-only] carrier : bool
- [read-only] hwAddress : QString
- [read-only] parent : NetworkManager::Device::Ptr
- [read-only] vlanId : 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 : bool
Access functions:
boolcarrier() const
Notifier signal:
voidcarrierChanged(boolplugged)
[read-only] hwAddress : QString
Access functions:
QStringhwAddress() const
Notifier signal:
voidhwAddressChanged(constQString&address)
[read-only] parent : NetworkManager::Device::Ptr
Access functions:
NetworkManager::Device::Ptrparent() const
Notifier signal:
voidparentChanged(constQString&path)
[read-only] vlanId : uint
Access functions:
uintvlanId() const
Notifier signal:
voidvlanIdChanged(uintid)
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.