NetworkManager::GenericDevice Class
A 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
List of all members, including inherited members
Public Types
Properties
Public Functions
- GenericDevice(const QString &path, QObject *parent = nullptr)
- QString hardwareAddress() const
- NetworkManager::Device::Type type() const
- QString typeDescription() const
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 : QString
Access functions:
QStringhardwareAddress() const
[read-only] typeDescription : QString
Access functions:
QStringtypeDescription() 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.