- 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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQHostAddress
(byte [] ip6Addr) Overloaded constructor forQHostAddress(io.qt.network.QIPv6Address)
.QHostAddress
(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
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
isEqual
(QHostAddress.SpecialAddress address) Overloaded function forisEqual(io.qt.network.QHostAddress.SpecialAddress, io.qt.network.QHostAddress.ConversionMode)
withmode = new io.qt.network.QHostAddress.ConversionMode(255)
.final boolean
isEqual
(QHostAddress.SpecialAddress address, QHostAddress.ConversionMode mode) Overloaded function forisEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
.final boolean
isEqual
(QHostAddress.SpecialAddress 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
isInSubnet
(QHostAddress.SpecialAddress subnet, int netmask) Overloaded function forisInSubnet(io.qt.network.QHostAddress, int)
.final boolean
final boolean
final boolean
final boolean
isNull()
final boolean
final boolean
final boolean
static QPair
<QHostAddress, @QtPrimitiveType Integer> parseSubnet
(String subnet) protocol()
void
readFrom
(QDataStream arg__1) final String
scopeId()
final void
setAddress
(byte [] ip6Addr) Overloaded function forsetAddress(io.qt.network.QIPv6Address)
.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 QIPv6Address
final String
toString()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QHostAddress) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QHostAddress
public QHostAddress() -
QHostAddress
-
QHostAddress
-
QHostAddress
-
QHostAddress
-
QHostAddress
public QHostAddress(int ip4Addr) -
QHostAddress
public QHostAddress(byte [] ip6Addr) Overloaded constructor for
QHostAddress(io.qt.network.QIPv6Address)
.
-
-
Method Details
-
clear
-
isBroadcast
-
isEqual
-
isGlobal
-
isInSubnet
-
isInSubnet
@QtUninvokable public final boolean isInSubnet(QPair<? extends QHostAddress, @QtPrimitiveType Integer> subnet) -
isLinkLocal
-
isLoopback
-
isMulticast
-
isNull
-
isPrivateUse
-
isSiteLocal
-
isUniqueLocalUnicast
-
writeTo
See
operator<<(QDataStream&,
QHostAddress) -
assign
-
assign
-
equals
-
equals
-
readFrom
-
protocol
-
scopeId
-
setAddress
-
setAddress
-
setAddress
-
setAddress
-
setScopeId
-
swap
-
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
Overloaded function for
isEqual(io.qt.network.QHostAddress.SpecialAddress, io.qt.network.QHostAddress.ConversionMode)
withmode = new io.qt.network.QHostAddress.ConversionMode(255)
. -
isEqual
@QtUninvokable public final boolean isEqual(QHostAddress.SpecialAddress address, QHostAddress.ConversionMode mode) Overloaded function for
isEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
. -
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
@QtUninvokable public final boolean isEqual(QHostAddress.SpecialAddress address, QHostAddress.ConversionModeFlag ... mode) Overloaded function for
isEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
. -
isInSubnet
Overloaded function for
isInSubnet(io.qt.network.QHostAddress, int)
. -
setAddress
Overloaded function for
setAddress(io.qt.network.QIPv6Address)
.
-