Pages
API Documentation
On this page

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

Public Functions

Signals

Detailed Description

Member Type Documentation

VlanDevice::List

VlanDevice::Ptr

Property Documentation

[read-only] carrier : bool

Access functions:

Notifier signal:

[read-only] hwAddress : QString

Access functions:

Notifier signal:

[read-only] parent : NetworkManager::Device::Ptr

Access functions:

  • NetworkManager::Device::Ptr parent() const

Notifier signal:

[read-only] vlanId : uint

Access functions:

Notifier signal:

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.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.