NetworkManager::WirelessSetting Class

class NetworkManager::WirelessSetting

Represents wireless setting. More...

Header: #include <NetworkManagerQt/WirelessSetting>
CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
Inherits: NetworkManager::Setting

Public Types

enum FrequencyBand { Automatic, A, Bg }
List
enum NetworkMode { Infrastructure, Adhoc, Ap }
enum PowerSave { PowerSaveDefault, PowerSaveIgnore, PowerSaveDisable, PowerSaveEnable }
Ptr

Public Functions

WirelessSetting()
WirelessSetting(const NetworkManager::WirelessSetting::Ptr &setting)
QString assignedMacAddress() const
NetworkManager::WirelessSetting::FrequencyBand band() const
QByteArray bssid() const
quint32 channel() const
QByteArray clonedMacAddress() const
QString generateMacAddressMask() const
bool hidden() const
QByteArray macAddress() const
QStringList macAddressBlacklist() const
NetworkManager::Setting::MacAddressRandomization macAddressRandomization() const
NetworkManager::WirelessSetting::NetworkMode mode() const
quint32 mtu() const
NetworkManager::WirelessSetting::PowerSave powerSave() const
quint32 rate() const
QString security() const
QStringList seenBssids() const
void setAssignedMacAddress(const QString &assignedMacAddress)
void setBand(NetworkManager::WirelessSetting::FrequencyBand band)
void setBssid(const QByteArray &bssid)
void setChannel(quint32 channel)
void setGenerateMacAddressMask(const QString &macAddressMask)
void setHidden(bool hidden)
void setMacAddress(const QByteArray &address)
void setMacAddressBlacklist(const QStringList &list)
void setMacAddressRandomization(NetworkManager::Setting::MacAddressRandomization randomization)
void setMode(NetworkManager::WirelessSetting::NetworkMode mode)
void setMtu(quint32 mtu)
void setPowerSave(NetworkManager::WirelessSetting::PowerSave powersave)
void setRate(quint32 rate)
void setSeenBssids(const QStringList &list)
void setSsid(const QByteArray &ssid)
void setTxPower(quint32 power)
QByteArray ssid() const
quint32 txPower() const

Detailed Description

Member Type Documentation

enum WirelessSetting::FrequencyBand

ConstantValue
NetworkManager::WirelessSetting::Automatic0
NetworkManager::WirelessSetting::A1
NetworkManager::WirelessSetting::Bg2

WirelessSetting::List

enum WirelessSetting::NetworkMode

ConstantValue
NetworkManager::WirelessSetting::Infrastructure0
NetworkManager::WirelessSetting::Adhoc1
NetworkManager::WirelessSetting::Ap2

enum WirelessSetting::PowerSave

ConstantValue
NetworkManager::WirelessSetting::PowerSaveDefault0
NetworkManager::WirelessSetting::PowerSaveIgnore1
NetworkManager::WirelessSetting::PowerSaveDisable2
NetworkManager::WirelessSetting::PowerSaveEnable3

WirelessSetting::Ptr

Member Function Documentation

WirelessSetting::WirelessSetting()

[explicit] WirelessSetting::WirelessSetting(const NetworkManager::WirelessSetting::Ptr &setting)

QString WirelessSetting::assignedMacAddress() const

See also setAssignedMacAddress().

NetworkManager::WirelessSetting::FrequencyBand WirelessSetting::band() const

See also setBand().

QByteArray WirelessSetting::bssid() const

See also setBssid().

quint32 WirelessSetting::channel() const

See also setChannel().

QByteArray WirelessSetting::clonedMacAddress() const

QString WirelessSetting::generateMacAddressMask() const

See also setGenerateMacAddressMask().

bool WirelessSetting::hidden() const

See also setHidden().

QByteArray WirelessSetting::macAddress() const

See also setMacAddress().

QStringList WirelessSetting::macAddressBlacklist() const

See also setMacAddressBlacklist().

NetworkManager::Setting::MacAddressRandomization WirelessSetting::macAddressRandomization() const

See also setMacAddressRandomization().

NetworkManager::WirelessSetting::NetworkMode WirelessSetting::mode() const

See also setMode().

quint32 WirelessSetting::mtu() const

See also setMtu().

NetworkManager::WirelessSetting::PowerSave WirelessSetting::powerSave() const

See also setPowerSave().

quint32 WirelessSetting::rate() const

See also setRate().

QString WirelessSetting::security() const

QStringList WirelessSetting::seenBssids() const

See also setSeenBssids().

void WirelessSetting::setAssignedMacAddress(const QString &assignedMacAddress)

See also assignedMacAddress().

void WirelessSetting::setBand(NetworkManager::WirelessSetting::FrequencyBand band)

See also band().

void WirelessSetting::setBssid(const QByteArray &bssid)

See also bssid().

void WirelessSetting::setChannel(quint32 channel)

See also channel().

void WirelessSetting::setGenerateMacAddressMask(const QString &macAddressMask)

See also generateMacAddressMask().

void WirelessSetting::setHidden(bool hidden)

See also hidden().

void WirelessSetting::setMacAddress(const QByteArray &address)

See also macAddress().

void WirelessSetting::setMacAddressBlacklist(const QStringList &list)

See also macAddressBlacklist().

void WirelessSetting::setMacAddressRandomization(NetworkManager::Setting::MacAddressRandomization randomization)

See also macAddressRandomization().

void WirelessSetting::setMode(NetworkManager::WirelessSetting::NetworkMode mode)

See also mode().

void WirelessSetting::setMtu(quint32 mtu)

See also mtu().

void WirelessSetting::setPowerSave(NetworkManager::WirelessSetting::PowerSave powersave)

See also powerSave().

void WirelessSetting::setRate(quint32 rate)

See also rate().

void WirelessSetting::setSeenBssids(const QStringList &list)

See also seenBssids().

void WirelessSetting::setSsid(const QByteArray &ssid)

See also ssid().

void WirelessSetting::setTxPower(quint32 power)

See also txPower().

QByteArray WirelessSetting::ssid() const

See also setSsid().

quint32 WirelessSetting::txPower() const

See also setTxPower().