java.lang.Object
io.qt.QtObject
io.qt.network.QHostAddress
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
IP address
Java wrapper for Qt class QHostAddress
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
QFlags
type for enumQHostAddress.ConversionModeFlag
static enum
Java wrapper for Qt enumQHostAddress::ConversionModeFlag
static enum
Java wrapper for Qt enumQHostAddress::SpecialAddress
-
Constructor Summary
ConstructorDescriptionQHostAddress
(int ip4Addr) QHostAddress
(QHostAddress copy) QHostAddress
(QIPv6Address ip6Addr) QHostAddress
(QHostAddress.SpecialAddress address) QHostAddress
(String address) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QHostAddress other) final void
assign
(QHostAddress.SpecialAddress address) final void
final void
clear()
clone()
Creates and returns a copy of this object.final boolean
equals
(QHostAddress address) final boolean
equals
(QHostAddress.SpecialAddress address) boolean
Checks for equality depending on the type of given object.int
hashCode()
Returns the objects's hash code computed byqHash(QHostAddress)
.final boolean
final boolean
isEqual
(QHostAddress address) Overloaded function forisEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
withmode = new io.qt.network.QHostAddress.ConversionMode(255)
.final boolean
isEqual
(QHostAddress address, QHostAddress.ConversionMode mode) final boolean
isEqual
(QHostAddress address, QHostAddress.ConversionModeFlag ... mode) Overloaded function forisEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
.final boolean
isGlobal()
final boolean
isInSubnet
(QPair<? extends QHostAddress, @QtPrimitiveType Integer> subnet) final boolean
isInSubnet
(QHostAddress subnet, int netmask) final boolean
final boolean
final boolean
final boolean
isNull()
final boolean
final boolean
static QPair
<QHostAddress, @QtPrimitiveType Integer> parseSubnet
(String subnet) protocol()
void
readFrom
(QDataStream arg__1) final String
scopeId()
final void
setAddress
(int ip4Addr) final void
setAddress
(QIPv6Address ip6Addr) final void
setAddress
(QHostAddress.SpecialAddress address) final boolean
setAddress
(String address) final void
setScopeId
(String id) final void
swap
(QHostAddress other) final int
final QIPv6Address
final String
toString()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QHostAddress) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QHostAddress
public QHostAddress() -
QHostAddress
-
QHostAddress
-
QHostAddress
-
QHostAddress
-
QHostAddress
public QHostAddress(int ip4Addr)
-
-
Method Details
-
clear
-
isBroadcast
-
isEqual
-
isGlobal
-
isInSubnet
-
isInSubnet
@QtUninvokable public final boolean isInSubnet(QPair<? extends QHostAddress, @QtPrimitiveType Integer> subnet) -
isLinkLocal
-
isLoopback
-
isMulticast
-
isNull
-
isSiteLocal
-
isUniqueLocalUnicast
-
writeTo
See
operator<<(QDataStream&,
QHostAddress) -
assign
-
assign
-
assign
-
equals
-
equals
-
readFrom
-
protocol
-
scopeId
-
setAddress
-
setAddress
-
setAddress
-
setAddress
-
setScopeId
-
swap
-
toIPv4Address
-
toIPv6Address
-
toString
-
parseSubnet
-
equals
Checks for equality depending on the type of given object.
-
hashCode
Returns the objects's hash code computed byqHash(QHostAddress)
. -
clone
Creates and returns a copy of this object.
-
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.ConversionModeFlag ... mode) Overloaded function for
isEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
.
-