NetworkManager::GsmSetting

Search for usage in LXR

NetworkManager::GsmSetting Class Reference

#include <gsmsetting.h>

Inheritance diagram for NetworkManager::GsmSetting:

Public Types

typedef QList< PtrList
 
enum  NetworkType {
  Any = -1, Only3G, GprsEdgeOnly, Prefer3G,
  Prefer2G, Prefer4GLte, Only4GLte
}
 
typedef QSharedPointer< GsmSettingPtr
 
- Public Types inherited from NetworkManager::Setting
typedef QList< PtrList
 
enum  MacAddressRandomization { MacAddressRandomizationDefault = 0, MacAddressRandomizationNever, MacAddressRandomizationAlways }
 
typedef QSharedPointer< SettingPtr
 
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
 
- Public Member Functions inherited from NetworkManager::Setting
 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
 
- Protected Attributes inherited from NetworkManager::Setting
SettingPrivate * d_ptr
 

Additional Inherited Members

- Static Public Member Functions inherited from NetworkManager::Setting
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()

void NetworkManager::GsmSetting::fromMap ( const QVariantMap &  map)
overridevirtual

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 300 of file gsmsetting.cpp.

◆ name()

QString NetworkManager::GsmSetting::name ( ) const
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()

QVariantMap NetworkManager::GsmSetting::toMap ( ) const
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-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:57:46 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.