ModemManager::BearerProperties Class
class ModemManager::BearerPropertiesThis class represents bearer properties used for creating of new bearers. More...
Header: | #include <ModemManagerQt/Modem> |
CMake: | find_package(KF6 REQUIRED COMPONENTS ModemManagerQt) target_link_libraries(mytarget PRIVATE KF6::ModemManagerQt) |
Public Functions
BearerProperties() | |
BearerProperties(const ModemManager::BearerProperties &other) | |
~BearerProperties() | |
bool | allowRoaming() const |
MMBearerAllowedAuth | allowedAuthentication() const |
QString | apn() const |
MMBearerIpFamily | ipType() const |
QString | number() const |
QString | password() const |
MMModemCdmaRmProtocol | rmProtocol() const |
void | setAllowRoaming(bool allow) |
void | setAllowedAuthentication(MMBearerAllowedAuth allowedAuth) |
void | setApn(const QString &apn) |
void | setIpType(MMBearerIpFamily ipType) |
void | setNumber(const QString &number) |
void | setPassword(const QString &password) |
void | setRmProtocol(MMModemCdmaRmProtocol rmProtocol) |
void | setUser(const QString &user) |
QString | user() const |
ModemManager::BearerProperties & | operator=(const ModemManager::BearerProperties &other) |
Detailed Description
Member Function Documentation
BearerProperties::BearerProperties()
Constructs an empty BearerProperties object
BearerProperties::BearerProperties(const ModemManager::BearerProperties &other)
Constructs a BearerProperties object that is a copy of the object other.
[noexcept]
BearerProperties::~BearerProperties()
Destroys this BearerProperties object.
bool BearerProperties::allowRoaming() const
Returns whether connection is allowed during roaming
See also setAllowRoaming().
MMBearerAllowedAuth BearerProperties::allowedAuthentication() const
Returns used authentication method
See also setAllowedAuthentication().
QString BearerProperties::apn() const
Returns Access Point Name
See also setApn().
MMBearerIpFamily BearerProperties::ipType() const
Returns addressing type
See also setIpType().
QString BearerProperties::number() const
Returns telephone number to dial
See also setNumber().
QString BearerProperties::password() const
Returns password
See also setPassword().
MMModemCdmaRmProtocol BearerProperties::rmProtocol() const
Returns protocol of the Rm interface
See also setRmProtocol().
void BearerProperties::setAllowRoaming(bool allow)
Sets whether connection is allowed during roaming
See also allowRoaming().
void BearerProperties::setAllowedAuthentication(MMBearerAllowedAuth allowedAuth)
Sets the authentication method to use
See also allowedAuthentication().
void BearerProperties::setApn(const QString &apn)
Sets Access Point Name
See also apn().
void BearerProperties::setIpType(MMBearerIpFamily ipType)
Sets addressing type
See also ipType().
void BearerProperties::setNumber(const QString &number)
Sets telephone number to dial
See also number().
void BearerProperties::setPassword(const QString &password)
Sets password
See also password().
void BearerProperties::setRmProtocol(MMModemCdmaRmProtocol rmProtocol)
Sets protocol of the Rm interface
See also rmProtocol().
void BearerProperties::setUser(const QString &user)
Sets user name
See also user().
QString BearerProperties::user() const
Returns user name
See also setUser().
ModemManager::BearerProperties &BearerProperties::operator=(const ModemManager::BearerProperties &other)
Makes a copy of the IpConfig object other.