NetworkManager::GsmSetting
NetworkManager::GsmSetting Class Reference
#include <gsmsetting.h>
Inheritance diagram for NetworkManager::GsmSetting:

Public Types | |
typedef QList< Ptr > | List |
enum | NetworkType { Any = -1, Only3G, GprsEdgeOnly, Prefer3G, Prefer2G, Prefer4GLte, Only4GLte } |
typedef QSharedPointer< GsmSetting > | Ptr |
![]() | |
typedef QList< Ptr > | List |
enum | MacAddressRandomization { MacAddressRandomizationDefault = 0, MacAddressRandomizationNever, MacAddressRandomizationAlways } |
typedef QSharedPointer< Setting > | Ptr |
typedef QFlags< SecretFlagType > | SecretFlags |
enum | SecretFlagType { None = 0, AgentOwned = 0x01, NotSaved = 0x02, NotRequired = 0x04 } |
enum | SettingType { Adsl, Cdma, Gsm, Infiniband, Ipv4, Ipv6, Ppp, Pppoe, Security8021x, Serial, Vpn, Wired, Wireless, WirelessSecurity, Bluetooth, OlpcMesh, Vlan, Wimax, Bond, Bridge, BridgePort, Team, Generic, Tun, Vxlan, IpTunnel, Proxy, User, OvsBridge, OvsInterface, OvsPatch, OvsPort, Match, Tc, TeamPort, Macsec, Dcb, WireGuard } |
Public Member Functions | |
GsmSetting (const Ptr &other) | |
quint32 | allowedBand () const |
QString | apn () const |
QString | deviceId () const |
void | fromMap (const QVariantMap &setting) override |
bool | homeOnly () const |
QString | name () const override |
QStringList | needSecrets (bool requestNew=false) const override |
QString | networkId () const |
NetworkType | networkType () const |
QString | number () const |
QString | password () const |
SecretFlags | passwordFlags () const |
QString | pin () const |
SecretFlags | pinFlags () const |
void | secretsFromMap (const QVariantMap &secrets) override |
QVariantMap | secretsToMap () const override |
void | setAllowedBand (quint32 band) |
void | setApn (const QString &apn) |
void | setDeviceId (const QString &id) |
void | setHomeOnly (bool homeOnly) |
void | setNetworkId (const QString &id) |
void | setNetworkType (NetworkType type) |
void | setNumber (const QString &number) |
void | setPassword (const QString &password) |
void | setPasswordFlags (SecretFlags flags) |
void | setPin (const QString &pin) |
void | setPinFlags (SecretFlags flags) |
void | setSimId (const QString &id) |
void | setSimOperatorId (const QString &id) |
void | setUsername (const QString &username) |
QString | simId () const |
QString | simOperatorId () const |
QVariantMap | toMap () const override |
QString | username () const |
![]() | |
Setting (const Ptr &setting) | |
Setting (SettingType type) | |
bool | isNull () const |
virtual void | secretsFromStringMap (const NMStringMap &map) |
virtual NMStringMap | secretsToStringMap () const |
void | setInitialized (bool initialized) |
void | setType (SettingType type) |
SettingType | type () const |
Protected Attributes | |
GsmSettingPrivate * | d_ptr |
![]() | |
SettingPrivate * | d_ptr |
Additional Inherited Members | |
![]() | |
static QString | typeAsString (SettingType type) |
static SettingType | typeFromString (const QString &type) |
Detailed Description
Represents gsm setting.
Definition at line 22 of file gsmsetting.h.
Member Function Documentation
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 300 of file gsmsetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 56 of file gsmsetting.cpp.
◆ setAllowedBand()
void NetworkManager::GsmSetting::setAllowedBand | ( | quint32 | band | ) |
- Deprecated:
- since NM 1.0.0
Definition at line 189 of file gsmsetting.cpp.
◆ setNetworkType()
void NetworkManager::GsmSetting::setNetworkType | ( | NetworkType | type | ) |
- Deprecated:
- since NM 1.0.0
Definition at line 147 of file gsmsetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 361 of file gsmsetting.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:05:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:05:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.