Pages
API Documentation
On this page

NetworkManager::DeviceStatistics Class

Represents device statistics interface. More...

  • Header: #include <NetworkManagerQt/DeviceStatistics>
  • CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
    target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
  • Inherits: QObject

List of all members, including inherited members

Public Types

Properties

Public Functions

Signals

Detailed Description

Member Type Documentation

DeviceStatistics::List

DeviceStatistics::Ptr

Property Documentation

refreshRateMs : uint

Access functions:

Notifier signal:

[read-only] rxBytes : qulonglong

Access functions:

Notifier signal:

[read-only] txBytes : qulonglong

Access functions:

Notifier signal:

Member Function Documentation

[explicit] DeviceStatistics::DeviceStatistics(const QString &path, QObject *parent = nullptr)

uint DeviceStatistics::refreshRateMs() const

Refresh rate of the rest of properties of this interface. The properties are guaranteed to be refreshed each RefreshRateMs milliseconds in case the underlying counter has changed too. If zero, there is no guaranteed refresh rate of the properties.

Note: Getter function for property refreshRateMs.

See also setRefreshRateMs()

[signal] void DeviceStatistics::refreshRateMsChanged(uint refreshRate)

Emitted when the refresh rate has changed

Note: Notifier signal for property refreshRateMs.

qulonglong DeviceStatistics::rxBytes() const

Number of received bytes

Note: Getter function for property rxBytes.

[signal] void DeviceStatistics::rxBytesChanged(qulonglong rxBytes)

Emitted when the received bytes has changed

Note: Notifier signal for property rxBytes.

void DeviceStatistics::setRefreshRateMs(uint refreshRate)

Note: Setter function for property refreshRateMs.

See also refreshRateMs()

qulonglong DeviceStatistics::txBytes() const

Number of transmitted bytes

Note: Getter function for property txBytes.

[signal] void DeviceStatistics::txBytesChanged(qulonglong txBytes)

Emitted when the transmitted bytes has changed

Note: Notifier signal for property txBytes.

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