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
Nested ClassesModifier 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
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorsConstructorDescriptionQHostAddress
(int ip4Addr) QHostAddress
(QHostAddress copy) QHostAddress
(QHostAddress.SpecialAddress address) QHostAddress
(QIPv6Address ip6Addr) 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.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
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
(QHostAddress.SpecialAddress address) final void
setAddress
(QIPv6Address ip6Addr) 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) 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)
-
-
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
-
assign
-
assign
-
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
@QtUninvokable public final boolean isEqual(QHostAddress address, QHostAddress.ConversionModeFlag ... mode) Overloaded function for
isEqual(io.qt.network.QHostAddress, io.qt.network.QHostAddress.ConversionMode)
.
-