NetworkManager::MacVlanDevice Class

class NetworkManager::MacVlanDevice

A macvlan device interface. More...

Header: #include <NetworkManagerQt/MacVlanDevice>
CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
Inherits: NetworkManager::Device

Public Types

Properties

Public Functions

MacVlanDevice(const QString &path, QObject *parent = nullptr)
QString mode() const
bool noPromisc() const
QString parent() const

Signals

void modeChanged(const QString &mode)
void noPromiscChanged(bool noPromisc)
void parentChanged(const QString &parent)

Detailed Description

Member Type Documentation

MacVlanDevice::List

MacVlanDevice::Ptr

Property Documentation

[read-only] mode : const QString

Access functions:

QString mode() const

Notifier signal:

void modeChanged(const QString &mode)

[read-only] noPromisc : const bool

Access functions:

bool noPromisc() const

Notifier signal:

void noPromiscChanged(bool noPromisc)

[read-only] parent : const QString

Access functions:

QString parent() const

Notifier signal:

void parentChanged(const QString &parent)

Member Function Documentation

[explicit] MacVlanDevice::MacVlanDevice(const QString &path, QObject *parent = nullptr)

QString MacVlanDevice::mode() const

Note: Getter function for property mode.

[signal] void MacVlanDevice::modeChanged(const QString &mode)

Note: Notifier signal for property mode.

bool MacVlanDevice::noPromisc() const

Note: Getter function for property noPromisc.

[signal] void MacVlanDevice::noPromiscChanged(bool noPromisc)

Note: Notifier signal for property noPromisc.

QString MacVlanDevice::parent() const

Note: Getter function for property parent.

[signal] void MacVlanDevice::parentChanged(const QString &parent)

Note: Notifier signal for property parent.