NetworkManager::GenericDevice Class
class NetworkManager::GenericDeviceA generic device interface. More...
| Header: | #include <NetworkManagerQt/GenericDevice> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
| Inherits: | NetworkManager::Device |
Public Types
Properties
- hardwareAddress : const QString
- typeDescription : const QString
Public Functions
| GenericDevice(const QString &path, QObject *parent = nullptr) | |
| QString | hardwareAddress() const |
| QString | typeDescription() const |
Reimplemented Public Functions
| virtual NetworkManager::Device::Type | type() const override |
Signals
| void | hardwareAddressChanged(const QString &hwAddress) |
| void | permanentHardwareAddressChanged(const QString &permHwAddress) |
Detailed Description
Member Type Documentation
GenericDevice::List
GenericDevice::Ptr
Property Documentation
[read-only] hardwareAddress : const QString
Access functions:
| QString | hardwareAddress() const |
[read-only] typeDescription : const QString
Access functions:
| QString | typeDescription() const |
Member Function Documentation
[explicit] GenericDevice::GenericDevice(const QString &path, QObject *parent = nullptr)
QString GenericDevice::hardwareAddress() const
Active hardware address of the device
Note: Getter function for property hardwareAddress.
[signal] void GenericDevice::hardwareAddressChanged(const QString &hwAddress)
Emitted when the hardware address of this device has changed
[signal] void GenericDevice::permanentHardwareAddressChanged(const QString &permHwAddress)
Emitted when the type description this device has changed
[override virtual] NetworkManager::Device::Type GenericDevice::type() const
Reimplements: Device::type() const.
Return the type
QString GenericDevice::typeDescription() const
A (non-localized) description of the interface type, if known.
Note: Getter function for property typeDescription.