Pages
API Documentation
On this page

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

Public Functions

Signals

Detailed Description

Member Type Documentation

WiredDevice::List

WiredDevice::Ptr

Property Documentation

[read-only] bitRate : int

Access functions:

Notifier signal:

[read-only] carrier : bool

Access functions:

Notifier signal:

[read-only] hardwareAddress : QString

Access functions:

[read-only] permanentHardwareAddress : QString

Access functions:

[read-only] s390SubChannels : QStringList

Access functions:

Notifier signal:

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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.