Pages
API Documentation
On this page

ModemManager::BearerProperties Class

This 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)

List of all members, including inherited members

Public Functions

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.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.