NetworkManager::GsmSetting Class
class NetworkManager::GsmSettingRepresents gsm setting. More...
Header: | #include <NetworkManagerQt/GsmSetting> |
CMake: | find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt) target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt) |
Inherits: | NetworkManager::Setting |
Public Types
List | |
enum | NetworkType { Any, Only3G, GprsEdgeOnly, Prefer3G, Prefer2G, …, Only4GLte } |
Ptr |
Public Functions
GsmSetting() | |
GsmSetting(const NetworkManager::GsmSetting::Ptr &other) | |
quint32 | allowedBand() const |
QString | apn() const |
QString | deviceId() const |
bool | homeOnly() const |
QString | networkId() const |
NetworkManager::GsmSetting::NetworkType | networkType() const |
QString | number() const |
QString | password() const |
NetworkManager::Setting::SecretFlags | passwordFlags() const |
QString | pin() const |
NetworkManager::Setting::SecretFlags | pinFlags() const |
void | setApn(const QString &apn) |
void | setDeviceId(const QString &id) |
void | setHomeOnly(bool homeOnly) |
void | setNetworkId(const QString &id) |
void | setNumber(const QString &number) |
void | setPassword(const QString &password) |
void | setPasswordFlags(NetworkManager::Setting::SecretFlags flags) |
void | setPin(const QString &pin) |
void | setPinFlags(NetworkManager::Setting::SecretFlags flags) |
void | setSimId(const QString &id) |
void | setSimOperatorId(const QString &id) |
void | setUsername(const QString &username) |
QString | simId() const |
QString | simOperatorId() const |
QString | username() const |
Detailed Description
Member Type Documentation
GsmSetting::List
enum GsmSetting::NetworkType
Constant | Value |
---|---|
NetworkManager::GsmSetting::Any | -1 |
NetworkManager::GsmSetting::Only3G | 0 |
NetworkManager::GsmSetting::GprsEdgeOnly | 1 |
NetworkManager::GsmSetting::Prefer3G | 2 |
NetworkManager::GsmSetting::Prefer2G | 3 |
NetworkManager::GsmSetting::Prefer4GLte | 4 |
NetworkManager::GsmSetting::Only4GLte | 5 |
GsmSetting::Ptr
Member Function Documentation
GsmSetting::GsmSetting()
[explicit]
GsmSetting::GsmSetting(const NetworkManager::GsmSetting::Ptr &other)
quint32 GsmSetting::allowedBand() const
QString GsmSetting::apn() const
See also setApn().
QString GsmSetting::deviceId() const
See also setDeviceId().
bool GsmSetting::homeOnly() const
See also setHomeOnly().
QString GsmSetting::networkId() const
See also setNetworkId().
NetworkManager::GsmSetting::NetworkType GsmSetting::networkType() const
QString GsmSetting::number() const
See also setNumber().
QString GsmSetting::password() const
See also setPassword().
NetworkManager::Setting::SecretFlags GsmSetting::passwordFlags() const
See also setPasswordFlags().
QString GsmSetting::pin() const
See also setPin().
NetworkManager::Setting::SecretFlags GsmSetting::pinFlags() const
See also setPinFlags().
void GsmSetting::setApn(const QString &apn)
See also apn().
void GsmSetting::setDeviceId(const QString &id)
See also deviceId().
void GsmSetting::setHomeOnly(bool homeOnly)
See also homeOnly().
void GsmSetting::setNetworkId(const QString &id)
See also networkId().
void GsmSetting::setNumber(const QString &number)
See also number().
void GsmSetting::setPassword(const QString &password)
See also password().
void GsmSetting::setPasswordFlags(NetworkManager::Setting::SecretFlags flags)
See also passwordFlags().
void GsmSetting::setPin(const QString &pin)
See also pin().
void GsmSetting::setPinFlags(NetworkManager::Setting::SecretFlags flags)
See also pinFlags().
void GsmSetting::setSimId(const QString &id)
See also simId().
void GsmSetting::setSimOperatorId(const QString &id)
See also simOperatorId().
void GsmSetting::setUsername(const QString &username)
See also username().
QString GsmSetting::simId() const
See also setSimId().
QString GsmSetting::simOperatorId() const
See also setSimOperatorId().
QString GsmSetting::username() const
See also setUsername().