Pages
API Documentation
On this page

NetworkManager::WirelessNetwork Class

This class represents a wireless network, which aggregates all access points with the same SSID. More...

  • Header: #include <NetworkManagerQt/WirelessNetwork>
  • 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

Public Functions

Signals

Detailed Description

Member Type Documentation

WirelessNetwork::List

WirelessNetwork::Ptr

Member Function Documentation

AccessPoint::List WirelessNetwork::accessPoints() const

List of access points

Warning: Subject to change, do not store!

QString WirelessNetwork::device() const

The uni of device associated with this network.

[signal] void WirelessNetwork::disappeared(const QString &ssid)

Indicate that this network has no more access points (meaning the network has disappeared from view of the network interface)

ssid the SSID of this network

AccessPoint::Ptr WirelessNetwork::referenceAccessPoint() const

The uni of the current 'best' (strongest) Access Point. Note that this may change or disappear over time. Get the Access Point object using WirelessDevice::findAccessPoint() on the NetworkInterface this network was obtained from. Use WirelessDevice::accessPointDisappeared() or WirelessNetwork::referenceAccessPointChanged() to detect this.

[signal] void WirelessNetwork::referenceAccessPointChanged(const QString &apUni)

Indicate that the reference access point changed

apUni new access point or empty string if none

int WirelessNetwork::signalStrength() const

Signal strength of the network. Syntactic sugar around tracking the reference access point and watching its signal strength

[signal] void WirelessNetwork::signalStrengthChanged(int strength)

Indicate that the signal strength changed

strength strength as a percentage.

QString WirelessNetwork::ssid() const

ESSID of the network

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