java.lang.Object
io.qt.QtObject
io.qt.network.QHostAddress
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
IP address
Java wrapper for Qt's class QHostAddress
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
QFlags type for enumQHostAddress.ConversionModeFlag
static enum
Java wrapper for Qt enum QHostAddress::ConversionModeFlagstatic enum
Java wrapper for Qt enum QHostAddress::SpecialAddressNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQHostAddress
(int ip4Addr) QHostAddress
(QHostAddress copy) QHostAddress
(QHostAddress.SpecialAddress address) QHostAddress
(QIPv6Address ip6Addr) protected
Constructor for internal use only.QHostAddress
(String address) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
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, 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,
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) -
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
-
isGlobal
-
isInSubnet
-
isInSubnet
-
isLinkLocal
-
isLoopback
-
isMulticast
-
isNull
-
isSiteLocal
-
isUniqueLocalUnicast
-
writeTo
-
readFrom
-
protocol
-
scopeId
-
setAddress
-
setAddress
-
setAddress
-
setAddress
-
setScopeId
-
swap
-
toIPv6Address
-
toString
-
parseSubnet
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-