NetworkManager::WiredDevice Class
A wired device interface. More...
- Header:
#include <NetworkManagerQt/WiredDevice> - 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] bitRate : int
- [read-only] carrier : bool
- [read-only] hardwareAddress : QString
- [read-only] permanentHardwareAddress : QString
- [read-only] s390SubChannels : QStringList
Public Functions
- WiredDevice(const QString &path, QObject *parent = nullptr)
- int bitRate() const
- bool carrier() const
- QString hardwareAddress() const
- QString permanentHardwareAddress() const
- QStringList s390SubChannels() const
- NetworkManager::Device::Type type() const
Signals
- void bitRateChanged(int bitRate)
- void carrierChanged(bool plugged)
- void hardwareAddressChanged(const QString &hwAddress)
- void permanentHardwareAddressChanged(const QString &permHwAddress)
- void s390SubChannelsChanged(const QStringList &channels)
Detailed Description
Member Type Documentation
WiredDevice::List
WiredDevice::Ptr
Property Documentation
[read-only] bitRate : int
Access functions:
intbitRate() const
Notifier signal:
voidbitRateChanged(intbitRate)
[read-only] carrier : bool
Access functions:
boolcarrier() const
Notifier signal:
voidcarrierChanged(boolplugged)
[read-only] hardwareAddress : QString
Access functions:
QStringhardwareAddress() const
[read-only] permanentHardwareAddress : QString
Access functions:
QStringpermanentHardwareAddress() const
[read-only] s390SubChannels : QStringList
Access functions:
QStringLists390SubChannels() const
Notifier signal:
voids390SubChannelsChanged(constQStringList&channels)
Member Function Documentation
[explicit] WiredDevice::WiredDevice(const QString &path, QObject *parent = nullptr)
int WiredDevice::bitRate() const
Design speed of the device, in megabits/second (Mb/s)
Note: Getter function for property bitRate.
[signal] void WiredDevice::bitRateChanged(int bitRate)
Emitted when the design speed of the device has changed
Note: Notifier signal for property bitRate.
bool WiredDevice::carrier() const
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not)
Note: Getter function for property carrier.
[signal] void WiredDevice::carrierChanged(bool plugged)
Emitted when the carrier of this device has changed
Note: Notifier signal for property carrier.
QString WiredDevice::hardwareAddress() const
Active hardware address of the device
Note: Getter function for property hardwareAddress.
[signal] void WiredDevice::hardwareAddressChanged(const QString &hwAddress)
Emitted when the hardware address of this device has changed
QString WiredDevice::permanentHardwareAddress() const
Permanent hardware address of the device
Note: Getter function for property permanentHardwareAddress.
[signal] void WiredDevice::permanentHardwareAddressChanged(const QString &permHwAddress)
Emitted when the permanent hardware address of this device has changed
QStringList WiredDevice::s390SubChannels() const
Array of S/390 subchannels for S/390 or z/Architecture devices
Note: Getter function for property s390SubChannels.
[signal] void WiredDevice::s390SubChannelsChanged(const QStringList &channels)
Emitted when the array of s390SubChannels has changed
Note: Notifier signal for property s390SubChannels.
[override virtual] NetworkManager::Device::Type WiredDevice::type() const
Reimplements: Device::type() const.
Return the type