NetworkManager::BondDevice Class
A bond device interface. More...
- Header:
#include <NetworkManagerQt/BondDevice> - 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
- BondDevice(const QString &path, QObject *parent = nullptr)
- bool carrier() const
- QString hwAddress() const
- QStringList slaves() const
Signals
- void carrierChanged(bool plugged)
- void hwAddressChanged(const QString &address)
- void slavesChanged(const QStringList &slaves)
Detailed Description
Member Type Documentation
BondDevice::List
BondDevice::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] slaves : QStringList
Access functions:
QStringListslaves() const
Notifier signal:
voidslavesChanged(constQStringList&slaves)
Member Function Documentation
[explicit] BondDevice::BondDevice(const QString &path, QObject *parent = nullptr)
bool BondDevice::carrier() const
Indicates whether the physical carrier is found
Note: Getter function for property carrier.
[signal] void BondDevice::carrierChanged(bool plugged)
Emitted when the carrier of this device has changed
Note: Notifier signal for property carrier.
QString BondDevice::hwAddress() const
Hardware address of the device
Note: Getter function for property hwAddress.
[signal] void BondDevice::hwAddressChanged(const QString &address)
Emitted when the hardware address of this device has changed
Note: Notifier signal for property hwAddress.
QStringList BondDevice::slaves() const
Array of object paths representing devices which are currently slaved to this device
Note: Getter function for property slaves.
[signal] void BondDevice::slavesChanged(const QStringList &slaves)
Emitted when the slaves of this device have changed
Note: Notifier signal for property slaves.