NetworkManager::BondDevice Class
class NetworkManager::BondDeviceA 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 |
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 : 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] slaves : const QStringList
Access functions:
| QStringList | slaves() const |
Notifier signal:
| void | slavesChanged(const QStringList &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.