ModemManager::IpConfig
#include <bearer.h>
Public Member Functions | |
IpConfig () | |
IpConfig (const IpConfig &other) | |
~IpConfig () | |
QString | address () const |
QString | dns1 () const |
QString | dns2 () const |
QString | dns3 () const |
QString | gateway () const |
MMBearerIpMethod | method () const |
IpConfig & | operator= (const IpConfig &other) |
uint | prefix () const |
void | setAddress (const QString &address) |
void | setDns1 (const QString &dns1) |
void | setDns2 (const QString &dns2) |
void | setDns3 (const QString &dns3) |
void | setGateway (const QString &gateway) |
void | setMethod (MMBearerIpMethod method) |
void | setPrefix (uint prefix) |
Detailed Description
Constructor & Destructor Documentation
◆ IpConfig() [1/2]
ModemManager::IpConfig::IpConfig | ( | ) |
Constructs an empty IP config object.
Definition at line 39 of file bearer.cpp.
◆ ~IpConfig()
ModemManager::IpConfig::~IpConfig | ( | ) |
Destroys this IpConfig object.
Definition at line 50 of file bearer.cpp.
◆ IpConfig() [2/2]
ModemManager::IpConfig::IpConfig | ( | const IpConfig & | other | ) |
Constructs an IpConfig object that is a copy of the object other
.
Definition at line 44 of file bearer.cpp.
Member Function Documentation
◆ address()
QString ModemManager::IpConfig::address | ( | ) | const |
Returns the IP address.
Definition at line 65 of file bearer.cpp.
◆ dns1()
QString ModemManager::IpConfig::dns1 | ( | ) | const |
Returns the IP address of the first DNS server.
Definition at line 85 of file bearer.cpp.
◆ dns2()
QString ModemManager::IpConfig::dns2 | ( | ) | const |
Returns the IP address of the second DNS server.
Definition at line 95 of file bearer.cpp.
◆ dns3()
QString ModemManager::IpConfig::dns3 | ( | ) | const |
Returns the IP address of the third DNS server.
Definition at line 105 of file bearer.cpp.
◆ gateway()
QString ModemManager::IpConfig::gateway | ( | ) | const |
Returns the IP address of the default gateway.
Definition at line 115 of file bearer.cpp.
◆ method()
MMBearerIpMethod ModemManager::IpConfig::method | ( | ) | const |
Returns the MMBearerIpMethod.
Definition at line 55 of file bearer.cpp.
◆ operator=()
ModemManager::IpConfig & ModemManager::IpConfig::operator= | ( | const IpConfig & | other | ) |
Makes a copy of the IpConfig object other
.
Definition at line 125 of file bearer.cpp.
◆ prefix()
uint ModemManager::IpConfig::prefix | ( | ) | const |
Returns the numeric CIDR network prefix (ie, 24, 32, etc)
Definition at line 75 of file bearer.cpp.
◆ setAddress()
void ModemManager::IpConfig::setAddress | ( | const QString & | address | ) |
Sets the IP address.
Definition at line 70 of file bearer.cpp.
◆ setDns1()
void ModemManager::IpConfig::setDns1 | ( | const QString & | dns1 | ) |
Sets the IP address of the first DNS server.
Definition at line 90 of file bearer.cpp.
◆ setDns2()
void ModemManager::IpConfig::setDns2 | ( | const QString & | dns2 | ) |
Sets the IP address of the second DNS server.
Definition at line 100 of file bearer.cpp.
◆ setDns3()
void ModemManager::IpConfig::setDns3 | ( | const QString & | dns3 | ) |
Sets the IP address of the third DNS server.
Definition at line 110 of file bearer.cpp.
◆ setGateway()
void ModemManager::IpConfig::setGateway | ( | const QString & | gateway | ) |
Sets the IP address of the default gateway.
Definition at line 120 of file bearer.cpp.
◆ setMethod()
void ModemManager::IpConfig::setMethod | ( | MMBearerIpMethod | method | ) |
Sets the MMBearerIpMethod.
Definition at line 60 of file bearer.cpp.
◆ setPrefix()
void ModemManager::IpConfig::setPrefix | ( | uint | prefix | ) |
Sets the numeric CIDR network prefix.
Definition at line 80 of file bearer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.