NetworkManager::WiredDevice Class
class NetworkManager::WiredDeviceA 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 |
Public Types
Properties
|
|
Public Functions
WiredDevice(const QString &path, QObject *parent = nullptr) | |
int | bitRate() const |
bool | carrier() const |
QString | hardwareAddress() const |
QString | permanentHardwareAddress() const |
QStringList | s390SubChannels() const |
Reimplemented Public Functions
virtual NetworkManager::Device::Type | type() const override |
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 : const int
Access functions:
int | bitRate() const |
Notifier signal:
void | bitRateChanged(int bitRate) |
[read-only]
carrier : const bool
Access functions:
bool | carrier() const |
Notifier signal:
void | carrierChanged(bool plugged) |
[read-only]
hardwareAddress : const QString
Access functions:
QString | hardwareAddress() const |
[read-only]
permanentHardwareAddress : const QString
Access functions:
QString | permanentHardwareAddress() const |
[read-only]
s390SubChannels : const QStringList
Access functions:
QStringList | s390SubChannels() const |
Notifier signal:
void | s390SubChannelsChanged(const QStringList &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