java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.network.QNetworkInterface
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Listing of the host's IP addresses and network interfaces
Java wrapper for Qt's class QNetworkInterface
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QNetworkInterface::InterfaceFlagstatic final class
QFlags type for enumQNetworkInterface.InterfaceFlag
static enum
Java wrapper for Qt enum QNetworkInterface::InterfaceTypeNested 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
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QList<QNetworkAddressEntry>
static QList<QHostAddress>
static QList<QNetworkInterface>
clone()
flags()
final String
final String
final int
index()
static QNetworkInterface
interfaceFromIndex
(int index) static QNetworkInterface
interfaceFromName
(String name) static int
interfaceIndexFromName
(String name) static String
interfaceNameFromIndex
(int index) final boolean
isValid()
final int
final String
name()
final void
swap
(QNetworkInterface other) toString()
type()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QNetworkInterface
public QNetworkInterface() -
QNetworkInterface
-
QNetworkInterface
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addressEntries
-
flags
-
hardwareAddress
-
humanReadableName
-
index
-
isValid
-
maximumTransmissionUnit
-
name
-
swap
-
type
-
allAddresses
-
allInterfaces
-
interfaceFromIndex
-
interfaceFromName
-
interfaceIndexFromName
-
interfaceNameFromIndex
-
toString
-
clone
-