java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QHostAddress
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QHostAddress extends QtObject implements Cloneable
IP address
Java wrapper for Qt class QHostAddress
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QHostAddress.ConversionMode
QFlags type for enumQHostAddress.ConversionModeFlag
static class
QHostAddress.ConversionModeFlag
Java wrapper for Qt enum QHostAddress::ConversionModeFlagstatic class
QHostAddress.SpecialAddress
Java wrapper for Qt enum QHostAddress::SpecialAddress -
Constructor Summary
Constructors Modifier Constructor Description QHostAddress()
QHostAddress(int ip4Addr)
QHostAddress(QHostAddress copy)
QHostAddress(QHostAddress.SpecialAddress address)
QHostAddress(QIPv6Address ip6Addr)
protected
QHostAddress(QtObject.QPrivateConstructor p)
Constructor for internal use only.QHostAddress(String address)
-
Method Summary
-
Constructor Details
-
QHostAddress
public QHostAddress() -
QHostAddress
-
QHostAddress
-
QHostAddress
-
QHostAddress
-
QHostAddress
public QHostAddress(int ip4Addr) -
QHostAddress
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
clear
-
isBroadcast
-
isEqual
@QtUninvokable public final boolean isEqual(QHostAddress address, QHostAddress.ConversionModeFlag... mode)Overloaded function for
isEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
. -
isEqual
Overloaded function for
isEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
withmode = new io.qt.network.QHostAddress.ConversionMode(255)
. -
isEqual
@QtUninvokable public final boolean isEqual(QHostAddress address, QHostAddress.ConversionMode mode) -
isGlobal
-
isInSubnet
-
isInSubnet
-
isLinkLocal
-
isLoopback
-
isMulticast
-
isNull
-
isSiteLocal
-
isUniqueLocalUnicast
-
writeTo
-
readFrom
-
protocol
-
scopeId
-
setAddress
-
setAddress
-
setAddress
-
setAddress
-
setScopeId
-
swap
-
toIPv4Address
-
toIPv6Address
-
toString
-
parseSubnet
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-