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 Typedef Documentation

◆ List

◆ Ptr

Member Enumeration Documentation

◆ NetworkType

enum NetworkManager::GsmSetting::NetworkType

Definition at line 27 of file gsmsetting.h.

Constructor & Destructor Documentation

◆ GsmSetting() [1/2]

NetworkManager::GsmSetting::GsmSetting ( )

Definition at line 25 of file gsmsetting.cpp.

◆ GsmSetting() [2/2]

NetworkManager::GsmSetting::GsmSetting ( const Ptr & other)
explicit

Definition at line 31 of file gsmsetting.cpp.

◆ ~GsmSetting()

NetworkManager::GsmSetting::~GsmSetting ( )
override

Definition at line 51 of file gsmsetting.cpp.

Member Function Documentation

◆ allowedBand()

quint32 NetworkManager::GsmSetting::allowedBand ( ) const

Definition at line 196 of file gsmsetting.cpp.

◆ apn()

QString NetworkManager::GsmSetting::apn ( ) const

Definition at line 126 of file gsmsetting.cpp.

◆ deviceId()

QString NetworkManager::GsmSetting::deviceId ( ) const

Definition at line 224 of file gsmsetting.cpp.

◆ 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.

◆ homeOnly()

bool NetworkManager::GsmSetting::homeOnly ( ) const

Definition at line 210 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.

◆ needSecrets()

QStringList NetworkManager::GsmSetting::needSecrets ( bool requestNew = false) const
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 285 of file gsmsetting.cpp.

◆ networkId()

QString NetworkManager::GsmSetting::networkId ( ) const

Definition at line 140 of file gsmsetting.cpp.

◆ networkType()

NetworkManager::GsmSetting::NetworkType NetworkManager::GsmSetting::networkType ( ) const

Definition at line 154 of file gsmsetting.cpp.

◆ number()

QString NetworkManager::GsmSetting::number ( ) const

Definition at line 70 of file gsmsetting.cpp.

◆ password()

QString NetworkManager::GsmSetting::password ( ) const

Definition at line 98 of file gsmsetting.cpp.

◆ passwordFlags()

NetworkManager::GsmSetting::SecretFlags NetworkManager::GsmSetting::passwordFlags ( ) const

Definition at line 112 of file gsmsetting.cpp.

◆ pin()

QString NetworkManager::GsmSetting::pin ( ) const

Definition at line 168 of file gsmsetting.cpp.

◆ pinFlags()

NetworkManager::GsmSetting::SecretFlags NetworkManager::GsmSetting::pinFlags ( ) const

Definition at line 182 of file gsmsetting.cpp.

◆ secretsFromMap()

void NetworkManager::GsmSetting::secretsFromMap ( const QVariantMap & secrets)
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 259 of file gsmsetting.cpp.

◆ secretsToMap()

QVariantMap NetworkManager::GsmSetting::secretsToMap ( ) const
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 270 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.

◆ setApn()

void NetworkManager::GsmSetting::setApn ( const QString & apn)

Definition at line 119 of file gsmsetting.cpp.

◆ setDeviceId()

void NetworkManager::GsmSetting::setDeviceId ( const QString & id)

Definition at line 217 of file gsmsetting.cpp.

◆ setHomeOnly()

void NetworkManager::GsmSetting::setHomeOnly ( bool homeOnly)

Definition at line 203 of file gsmsetting.cpp.

◆ setNetworkId()

void NetworkManager::GsmSetting::setNetworkId ( const QString & id)

Definition at line 133 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.

◆ setNumber()

void NetworkManager::GsmSetting::setNumber ( const QString & number)

Definition at line 63 of file gsmsetting.cpp.

◆ setPassword()

void NetworkManager::GsmSetting::setPassword ( const QString & password)

Definition at line 91 of file gsmsetting.cpp.

◆ setPasswordFlags()

void NetworkManager::GsmSetting::setPasswordFlags ( GsmSetting::SecretFlags flags)

Definition at line 105 of file gsmsetting.cpp.

◆ setPin()

void NetworkManager::GsmSetting::setPin ( const QString & pin)

Definition at line 161 of file gsmsetting.cpp.

◆ setPinFlags()

void NetworkManager::GsmSetting::setPinFlags ( GsmSetting::SecretFlags flags)

Definition at line 175 of file gsmsetting.cpp.

◆ setSimId()

void NetworkManager::GsmSetting::setSimId ( const QString & id)

Definition at line 231 of file gsmsetting.cpp.

◆ setSimOperatorId()

void NetworkManager::GsmSetting::setSimOperatorId ( const QString & id)

Definition at line 245 of file gsmsetting.cpp.

◆ setUsername()

void NetworkManager::GsmSetting::setUsername ( const QString & username)

Definition at line 77 of file gsmsetting.cpp.

◆ simId()

QString NetworkManager::GsmSetting::simId ( ) const

Definition at line 238 of file gsmsetting.cpp.

◆ simOperatorId()

QString NetworkManager::GsmSetting::simOperatorId ( ) const

Definition at line 252 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.

◆ username()

QString NetworkManager::GsmSetting::username ( ) const

Definition at line 84 of file gsmsetting.cpp.

Member Data Documentation

◆ d_ptr

GsmSettingPrivate* NetworkManager::GsmSetting::d_ptr
protected

Definition at line 98 of file gsmsetting.h.


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 Fri Dec 20 2024 11:59:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.