NetworkManager::TeamDevice Class
class NetworkManager::TeamDeviceA 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 |
Public Types
Properties
Public Functions
| TeamDevice(const QString &path, QObject *parent = nullptr) | |
| bool | carrier() const |
| QString | config() const |
| QString | hwAddress() const |
| QStringList | slaves() const |
Reimplemented Public Functions
| virtual NetworkManager::Device::Type | type() const override |
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 : const bool
Access functions:
| bool | carrier() const |
Notifier signal:
| void | carrierChanged(bool plugged) |
[read-only] config : const QString
Access functions:
| QString | config() const |
Notifier signal:
| void | configChanged(const QString &config) |
[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] 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.