PythonQt.QtNetwork.QNetworkConfiguration · declarations 001
Back to PythonQt.QtNetwork.QNetworkConfiguration
Bearer2G
instance-attribute
Bearer2G: Any
Bearer3G
instance-attribute
Bearer3G: Any
Bearer4G
instance-attribute
Bearer4G: Any
BearerBluetooth
instance-attribute
BearerBluetooth: Any
BearerCDMA2000
instance-attribute
BearerCDMA2000: Any
BearerEVDO
instance-attribute
BearerEVDO: Any
BearerEthernet
instance-attribute
BearerEthernet: Any
BearerHSPA
instance-attribute
BearerHSPA: Any
BearerLTE
instance-attribute
BearerLTE: Any
BearerType
instance-attribute
BearerType: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
BearerUnknown
instance-attribute
BearerUnknown: Any
BearerWCDMA
instance-attribute
BearerWCDMA: Any
BearerWLAN
instance-attribute
BearerWLAN: Any
BearerWiMAX
instance-attribute
BearerWiMAX: Any
Defined
instance-attribute
Defined: Any
Discovered
instance-attribute
Discovered: Any
InternetAccessPoint
instance-attribute
InternetAccessPoint: Any
PrivatePurpose
instance-attribute
PrivatePurpose: Any
PublicPurpose
instance-attribute
PublicPurpose: Any
Purpose
instance-attribute
Purpose: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
ServiceNetwork
instance-attribute
ServiceNetwork: Any
ServiceSpecificPurpose
instance-attribute
ServiceSpecificPurpose: Any
StateFlags
instance-attribute
StateFlags: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
UnknownPurpose
instance-attribute
UnknownPurpose: Any
UserChoice
instance-attribute
UserChoice: Any
bearerType
bearerType() -> Any
X.bearerType()
Supplemental documentation: Qt 5 reference:
QNetworkConfiguration::BearerType QNetworkConfiguration::bearerType() const
Returns the type of bearer used by this network configuration.
If the bearer type is unknown the bearerTypeName() function can be used to retrieve a textural type name for the bearer.
An invalid network configuration always returns the BearerUnknown value.
See also bearerTypeName() and bearerTypeFamily().
Upstream PySide2 reference signatures (binding differences may apply):
bearerType(self) -> PySide2.QtNetwork.QNetworkConfiguration.BearerType
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#bearerType
bearerTypeFamily
bearerTypeFamily() -> Any
X.bearerTypeFamily()
Supplemental documentation: Qt 5 reference:
QNetworkConfiguration::BearerType QNetworkConfiguration::bearerTypeFamily() const
Returns the bearer type family used by this network configuration. The following table lists how bearerType() values map to bearerTypeFamily() values:
| bearer type | bearer type family |
|---|---|
| BearerUnknown, Bearer2G, BearerEthernet, BearerWLAN, BearerBluetooth | (same type) |
| BearerCDMA2000, BearerEVDO, BearerWCDMA, BearerHSPA, Bearer3G | Bearer3G |
| BearerWiMAX, BearerLTE, Bearer4G | Bearer4G |
An invalid network configuration always returns the BearerUnknown value.
This function was introduced in Qt 5.2.
See also bearerType() and bearerTypeName().
Upstream PySide2 reference signatures (binding differences may apply):
bearerTypeFamily(self) -> PySide2.QtNetwork.QNetworkConfiguration.BearerType
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#bearerTypeFamily
bearerTypeName
bearerTypeName() -> str
X.bearerTypeName() -> str
Supplemental documentation: Qt 5 reference:
QString QNetworkConfiguration::bearerTypeName() const
Returns the type of bearer used by this network configuration as a string.
The string is not translated and therefore cannot be shown to the user. The subsequent table shows the fixed mappings between BearerType and the bearer type name for known types. If the BearerType is unknown this function may return additional information if it is available; otherwise an empty string will be returned.
| BearerType | Value |
|---|---|
| BearerUnknown | The session is based on an unknown or unspecified bearer type. The value of the string returned describes the bearer type. |
| BearerEthernet | Ethernet |
| BearerWLAN | WLAN |
| Bearer2G | 2G |
| Bearer3G | 3G |
| Bearer4G | 4G |
| BearerCDMA2000 | CDMA2000 |
| BearerWCDMA | WCDMA |
| BearerHSPA | HSPA |
| BearerBluetooth | Bluetooth |
| BearerWiMAX | WiMAX |
| BearerEVDO | EVDO |
| BearerLTE | LTE |
This function returns an empty string if this is an invalid configuration, a network configuration of type QNetworkConfiguration::ServiceNetwork or QNetworkConfiguration::UserChoice.
See also bearerType() and bearerTypeFamily().
Upstream PySide2 reference signatures (binding differences may apply):
bearerTypeName(self) -> str
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#bearerTypeName
children
children() -> tuple
X.children() -> tuple
Supplemental documentation: Qt 5 reference:
QList\<QNetworkConfiguration> QNetworkConfiguration::children() const
Returns all sub configurations of this network configuration in priority order. The first sub configuration in the list has the highest priority.
Only network configurations of type ServiceNetwork can have children. Otherwise this function returns an empty list.
Upstream PySide2 reference signatures (binding differences may apply):
children(self) -> typing.List[PySide2.QtNetwork.QNetworkConfiguration]
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#children
identifier
identifier() -> str
X.identifier() -> str
Supplemental documentation: Qt 5 reference:
QString QNetworkConfiguration::identifier() const
Returns the unique and platform specific identifier for this network configuration; otherwise an empty string.
Upstream PySide2 reference signatures (binding differences may apply):
identifier(self) -> str
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#identifier
isRoamingAvailable
isRoamingAvailable() -> bool
X.isRoamingAvailable() -> bool
Supplemental documentation: Qt 5 reference:
bool QNetworkConfiguration::isRoamingAvailable() const
Returns true if this configuration supports roaming; otherwise false.
Upstream PySide2 reference signatures (binding differences may apply):
isRoamingAvailable(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#isRoamingAvailable
isValid
isValid() -> bool
X.isValid() -> bool
Supplemental documentation: Qt 5 reference:
bool QNetworkConfiguration::isValid() const
Returns true if this
QNetworkConfiguration
object is valid. A configuration may become invalid if the user deletes the
configuration or the configuration was default-constructed.
The addition and removal of configurations can be monitored via the QNetworkConfigurationManager.
See also QNetworkConfigurationManager.
Upstream PySide2 reference signatures (binding differences may apply):
isValid(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#isValid
name
name() -> str
X.name() -> str
Supplemental documentation: Qt 5 reference:
QString QNetworkConfiguration::name() const
Returns the user visible name of this configuration.
The name may either be the name of the underlying access point or the name for service network that this configuration represents.
Upstream PySide2 reference signatures (binding differences may apply):
name(self) -> str
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#name
operator_assign
operator_assign(other: Any) -> Any
X.operator_assign(other) -> PythonQt.QtNetwork.QNetworkConfiguration
purpose
purpose() -> Any
X.purpose()
Supplemental documentation: Qt 5 reference:
QNetworkConfiguration::Purpose QNetworkConfiguration::purpose() const
Returns the purpose of this configuration.
The purpose field may be used to programmatically determine the purpose of a configuration. Such information is usually part of the access point or service network meta data.
Upstream PySide2 reference signatures (binding differences may apply):
purpose(self) -> PySide2.QtNetwork.QNetworkConfiguration.Purpose
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#purpose
state
state() -> Any
X.state()
Supplemental documentation: Qt 5 reference:
QNetworkConfiguration::StateFlags QNetworkConfiguration::state() const
Returns the current state of the configuration.
Upstream PySide2 reference signatures (binding differences may apply):
state(self) -> PySide2.QtNetwork.QNetworkConfiguration.StateFlags
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#state
swap
swap(other: Any) -> None
X.swap(other)
Supplemental documentation: Qt 5 reference:
void QNetworkConfiguration::swap(QNetworkConfiguration \&other)
Swaps this network configuration with other. This function is very fast and never fails.
This function was introduced in Qt 5.0.
Upstream PySide2 reference signatures (binding differences may apply):
swap(self, other: PySide2.QtNetwork.QNetworkConfiguration) -> None
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#swap
type
type() -> Any
X.type()
Supplemental documentation: Qt 5 reference:
QNetworkConfiguration::Type QNetworkConfiguration::type() const
Returns the type of the configuration.
A configuration can represent a single access point configuration or a set of access point configurations. Such a set is called service network. A configuration that is based on a service network can potentially support roaming of network sessions.
Upstream PySide2 reference signatures (binding differences may apply):
type(self) -> PySide2.QtNetwork.QNetworkConfiguration.Type
Source: https://doc.qt.io/archives/qt-5.15/qnetworkconfiguration.html#type