NetworkManagerQt
wirelessdevice.cpp
23NetworkManager::WirelessDevicePrivate::WirelessDevicePrivate(const QString &path, WirelessDevice *q)
42 connect(&d->wirelessIface, &OrgFreedesktopNetworkManagerDeviceWirelessInterface::PropertiesChanged, d, &WirelessDevicePrivate::propertiesChanged);
45 connect(&d->wirelessIface, &OrgFreedesktopNetworkManagerDeviceWirelessInterface::AccessPointAdded, d, &WirelessDevicePrivate::accessPointAdded);
46 connect(&d->wirelessIface, &OrgFreedesktopNetworkManagerDeviceWirelessInterface::AccessPointRemoved, d, &WirelessDevicePrivate::accessPointRemoved);
174 NetworkManager::AccessPoint::Ptr accessPointPtr(new NetworkManager::AccessPoint(accessPoint.path()), &QObject::deleteLater);
180 NetworkManager::WirelessNetwork::Ptr wifiNetwork(new NetworkManager::WirelessNetwork(accessPointPtr, q), &QObject::deleteLater);
182 connect(wifiNetwork.data(), &WirelessNetwork::disappeared, this, &WirelessDevicePrivate::removeNetwork);
188void NetworkManager::WirelessDevicePrivate::accessPointRemoved(const QDBusObjectPath &accessPoint)
209void NetworkManager::WirelessDevicePrivate::propertyChanged(const QString &property, const QVariant &value)
242NetworkManager::WirelessDevice::OperationMode NetworkManager::WirelessDevice::convertOperationMode(uint theirMode)
QDateTime lastRequestScan() const
The time the last RequestScan function was called.
Definition wirelessdevice.cpp:121
WirelessDevice::Capabilities wirelessCapabilities() const
Retrieves the capabilities of this wifi network.
Definition wirelessdevice.cpp:127
static WirelessDevice::Capabilities convertCapabilities(uint)
Helper method to convert wire representation of capabilities to enum.
Definition wirelessdevice.cpp:264
AccessPoint::Ptr activeAccessPoint() const
AccessPoint pointer this interface is currently associated with.
Definition wirelessdevice.cpp:85
QString permanentHardwareAddress() const
The permanent hardware address of the network interface.
Definition wirelessdevice.cpp:97
AccessPoint::Ptr findAccessPoint(const QString &uni)
Finds access point object given its Unique Network Identifier.
Definition wirelessdevice.cpp:133
int bitRate() const
Retrieves the effective bit rate currently attainable by this device.
Definition wirelessdevice.cpp:109
WirelessDevice(const QString &path, QObject *parent=nullptr)
Creates a new WirelessDevice object.
Definition wirelessdevice.cpp:34
WirelessNetwork::List networks() const
Return the current list of networks.
Definition wirelessdevice.cpp:152
QStringList accessPoints() const
List of wireless networks currently visible to the hardware.
Definition wirelessdevice.cpp:72
static WirelessDevice::OperationMode convertOperationMode(uint)
Helper method to convert wire representation of operation mode to enum.
Definition wirelessdevice.cpp:242
QDBusPendingReply requestScan(const QVariantMap &options=QVariantMap())
Asks the device for a new scan of available wireless networks.
Definition wirelessdevice.cpp:78
WirelessNetwork::Ptr findNetwork(const QString &ssid) const
Find a network with the given ssid, a Null object is returned if it can not be found.
Definition wirelessdevice.cpp:158
QDateTime lastScan() const
The LastScan property value, converted to QDateTime.
Definition wirelessdevice.cpp:115
QString hardwareAddress() const
The hardware address currently used by the network interface.
Definition wirelessdevice.cpp:91
WirelessDevice::OperationMode mode() const
Retrieves the operation mode of this network.
Definition wirelessdevice.cpp:103
This class represents a wireless network, which aggregates all access points with the same SSID.
Definition wirelessnetwork.h:28
void disappeared(const QString &ssid)
Indicate that this network has no more access points (meaning the network has disappeared from view o...
QString path(const QString &relativePath)
QDateTime currentDateTime()
QString path() const const
ConstIterator
const_iterator constEnd() const const
const_iterator constFind(const Key &key) const const
T value(const Key &key, const T &defaultValue) const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
bool isEmpty() const const
qlonglong toLongLong(bool *ok) const const
QString toString() const const
uint toUInt(bool *ok) const const
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:48:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:48:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.