NetworkManager::TeamDevice Class
A team device interface. More...
- Header:
#include <NetworkManagerQt/TeamDevice> - 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] config : QString
- [read-only] hwAddress : QString
- [read-only] slaves : QStringList
Public Functions
- TeamDevice(const QString &path, QObject *parent = nullptr)
- bool carrier() const
- QString config() const
- QString hwAddress() const
- QStringList slaves() const
- NetworkManager::Device::Type type() const
Signals
- void carrierChanged(bool plugged)
- void configChanged(const QString &config)
- void hwAddressChanged(const QString &address)
- void slavesChanged(const QStringList &slaves)
Detailed Description
Member Type Documentation
TeamDevice::List
TeamDevice::Ptr
Property Documentation
[read-only] carrier : bool
Access functions:
boolcarrier() const
Notifier signal:
voidcarrierChanged(boolplugged)
[read-only] config : QString
Access functions:
QStringconfig() const
Notifier signal:
voidconfigChanged(constQString&config)
[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] TeamDevice::TeamDevice(const QString &path, QObject *parent = nullptr)
bool TeamDevice::carrier() const
Indicates whether the physical carrier is found
Note: Getter function for property carrier.
[signal] void TeamDevice::carrierChanged(bool plugged)
Emitted when the carrier of this device has changed
Note: Notifier signal for property carrier.
QString TeamDevice::config() const
The JSON configuration currently applied on the device.
Note: Getter function for property config.
[signal] void TeamDevice::configChanged(const QString &config)
Emitted when the JSON confugration which is currently applied has changed
Note: Notifier signal for property config.
QString TeamDevice::hwAddress() const
Hardware address of the device
Note: Getter function for property hwAddress.
[signal] void TeamDevice::hwAddressChanged(const QString &address)
Emitted when the hardware address of this device has changed
Note: Notifier signal for property hwAddress.
QStringList TeamDevice::slaves() const
Devices which are currently slaved to this device
Note: Getter function for property slaves.
[signal] void TeamDevice::slavesChanged(const QStringList &slaves)
Emitted when the list of devices slaved to this device has changed
Note: Notifier signal for property slaves.
[override virtual] NetworkManager::Device::Type TeamDevice::type() const
Reimplements: Device::type() const.