- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Stores one IP address supported by a network interface, along with its associated netmask and broadcast address
Java wrapper for Qt class QNetworkAddressEntry
- Since:
- This class was introduced in Qt 4.2.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQNetworkAddressEntry::DnsEligibilityStatus
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkAddressEntry other) final QHostAddress
final void
clone()
Creates and returns a copy of this object.final boolean
equals
(QNetworkAddressEntry other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QNetworkAddressEntry)
.final QHostAddress
ip()
final boolean
final boolean
final boolean
final QHostAddress
netmask()
final QDeadlineTimer
final int
final void
setAddressLifetime
(QDeadlineTimer preferred, QDeadlineTimer validity) final void
setAddressLifetime
(QDeadlineTimer preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(QDeadlineTimer preferred, Qt.TimerType validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(QDeadlineTimer.ForeverConstant preferred, Qt.TimerType validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(Qt.TimerType preferred, QDeadlineTimer validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(Qt.TimerType preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setAddressLifetime
(Qt.TimerType preferred, Qt.TimerType validity) Overloaded function forsetAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
.final void
setBroadcast
(QHostAddress newBroadcast) final void
setBroadcast
(QHostAddress.SpecialAddress newBroadcast) Overloaded function forsetBroadcast(io.qt.network.QHostAddress)
.final void
final void
setIp
(QHostAddress newIp) final void
setIp
(QHostAddress.SpecialAddress newIp) Overloaded function forsetIp(io.qt.network.QHostAddress)
.final void
setNetmask
(QHostAddress newNetmask) final void
setNetmask
(QHostAddress.SpecialAddress newNetmask) Overloaded function forsetNetmask(io.qt.network.QHostAddress)
.final void
setPrefixLength
(int length) final void
swap
(QNetworkAddressEntry other) final QDeadlineTimer
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNetworkAddressEntry
public QNetworkAddressEntry() -
QNetworkAddressEntry
- Parameters:
other
-
-
-
Method Details
-
broadcast
- Returns:
-
clearAddressLifetime
- Since:
- This function was introduced in Qt 5.11.
-
dnsEligibility
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
ip
- Returns:
-
isLifetimeKnown
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
isPermanent
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
isTemporary
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
netmask
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
preferredLifetime
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
prefixLength
- Returns:
- Since:
- This function was introduced in Qt 4.5.
-
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer validity) - Parameters:
preferred
-validity
-- Since:
- This function was introduced in Qt 5.11.
-
setBroadcast
- Parameters:
newBroadcast
-
-
setDnsEligibility
@QtUninvokable public final void setDnsEligibility(QNetworkAddressEntry.DnsEligibilityStatus status) - Parameters:
status
-- Since:
- This function was introduced in Qt 5.11.
-
setIp
- Parameters:
newIp
-
-
setNetmask
- Parameters:
newNetmask
-
-
setPrefixLength
- Parameters:
length
-- Since:
- This function was introduced in Qt 4.5.
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 5.0.
-
validityLifetime
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QNetworkAddressEntry)
. -
clone
Creates and returns a copy of this object.
See
QNetworkAddressEntry::
QNetworkAddressEntry(QNetworkAddressEntry) -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(Qt.TimerType preferred, QDeadlineTimer validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer preferred, Qt.TimerType validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer.ForeverConstant preferred, Qt.TimerType validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(Qt.TimerType preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setAddressLifetime
@QtUninvokable public final void setAddressLifetime(QDeadlineTimer.ForeverConstant preferred, QDeadlineTimer.ForeverConstant validity) Overloaded function for
setAddressLifetime(io.qt.core.QDeadlineTimer, io.qt.core.QDeadlineTimer)
. -
setBroadcast
Overloaded function for
setBroadcast(io.qt.network.QHostAddress)
. -
setIp
Overloaded function for
setIp(io.qt.network.QHostAddress)
. -
setNetmask
Overloaded function for
setNetmask(io.qt.network.QHostAddress)
.
-