java.lang.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 class QNetworkInterface
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQNetworkInterface::InterfaceFlag
static final class
QFlags
type for enumQNetworkInterface.InterfaceFlag
static enum
Java wrapper for Qt enumQNetworkInterface::InterfaceType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal QList<QNetworkAddressEntry>
static QList<QHostAddress>
static QList<QNetworkInterface>
final void
assign
(QNetworkInterface other) clone()
Creates and returns a copy of this object.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()
Seeoperator<<(QDebug,
QNetworkInterface) 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
- Parameters:
other
-
-
-
Method Details
-
addressEntries
- Returns:
-
flags
- Returns:
-
hardwareAddress
- Returns:
-
humanReadableName
- Returns:
-
index
- Returns:
-
isValid
- Returns:
-
maximumTransmissionUnit
- Returns:
-
name
- Returns:
-
assign
- Parameters:
other
-
-
swap
- Parameters:
other
-
-
type
- Returns:
-
allAddresses
- Returns:
-
allInterfaces
- Returns:
-
interfaceFromIndex
- Parameters:
index
-- Returns:
-
interfaceFromName
- Parameters:
name
-- Returns:
-
interfaceIndexFromName
- Parameters:
name
-- Returns:
-
interfaceNameFromIndex
- Parameters:
index
-- Returns:
-
toString
See
operator<<(QDebug,
QNetworkInterface) -
clone
Creates and returns a copy of this object.
-