PythonQt.QtNetwork.QNetworkAddressEntry
QNetworkAddressEntry
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
Each network interface can contain zero or more IP addresses, which in turn can be associated with a netmask and/or a broadcast address (depending on support from the operating system).
This class represents one such group.
Source: https://doc.qt.io/archives/qt-5.15/qnetworkaddressentry.html
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
broadcast |
function | (self) -> Any |
X.broadcast() -> PythonQt.QtNetwork.QHostAddress |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (shared captured text) |
help |
function | (self, *args: Any, **kwargs: Any) -> Any |
Shows the help of available methods for this class (shared captured text) |
inherits |
function | (self, *args: Any, **kwargs: Any) -> Any |
Returns if the class inherits or is of given type name (shared captured text) |
ip |
function | (self) -> Any |
X.ip() -> PythonQt.QtNetwork.QHostAddress |
netmask |
function | (self) -> Any |
X.netmask() -> PythonQt.QtNetwork.QHostAddress |
prefixLength |
function | (self) -> int |
X.prefixLength() -> int |
setBroadcast |
function | (self, newBroadcast: Any) -> None |
Sets the broadcast IP address of this [QNetworkAddressEntry](https://doc.qt.io/archives/qt-5.15/qnetworkaddressentry.html) object to newBroadcast. |
setIp |
function | (self, newIp: Any) -> None |
Sets the IP address the [QNetworkAddressEntry](https://doc.qt.io/archives/qt-5.15/qnetworkaddressentry.html) object contains to newIp. |
setNetmask |
function | (self, newNetmask: Any) -> None |
Sets the netmask that this [QNetworkAddressEntry](https://doc.qt.io/archives/qt-5.15/qnetworkaddressentry.html) object contains to newNetmask. |
setPrefixLength |
function | (self, length: int) -> None |
Sets the prefix length of this IP address to length. |
swap |
function | (self, other: Any) -> None |
Swaps this network address entry instance with other. |