NetworkManager::OlpcMeshDevice Class
class NetworkManager::OlpcMeshDeviceA OLPC mesh interface. More...
| Header: | #include <NetworkManagerQt/OlpcMeshDevice> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
| Inherits: | NetworkManager::Device |
Public Types
Public Functions
| OlpcMeshDevice(const QString &path, QObject *parent = nullptr) | |
| virtual | ~OlpcMeshDevice() override |
| uint | activeChannel() const |
| NetworkManager::Device::Ptr | companionDevice() const |
| QString | hardwareAddress() const |
Reimplemented Public Functions
| virtual NetworkManager::Device::Type | type() const override |
Signals
| void | activeChannelChanged(uint) |
| void | companionChanged(const NetworkManager::Device::Ptr &device) |
| void | hardwareAddressChanged(const QString &) |
Detailed Description
Member Type Documentation
OlpcMeshDevice::List
OlpcMeshDevice::Ptr
Member Function Documentation
[explicit] OlpcMeshDevice::OlpcMeshDevice(const QString &path, QObject *parent = nullptr)
Creates a new OlpcMeshDevice object.
path the DBus path of the device
[override virtual noexcept] OlpcMeshDevice::~OlpcMeshDevice()
Destroys a OlpcMeshDevice object.
uint OlpcMeshDevice::activeChannel() const
Currently active channel.
[signal] void OlpcMeshDevice::activeChannelChanged(uint)
The active channel changed.
[signal] void OlpcMeshDevice::companionChanged(const NetworkManager::Device::Ptr &device)
The companion changed.
NetworkManager::Device::Ptr OlpcMeshDevice::companionDevice() const
The current companion device.
QString OlpcMeshDevice::hardwareAddress() const
The hardware address currently used by the network interface
[signal] void OlpcMeshDevice::hardwareAddressChanged(const QString &)
The device changed its hardware address
[override virtual] NetworkManager::Device::Type OlpcMeshDevice::type() const
Reimplements: Device::type() const.
Return the type