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
- Since:
- This class was introduced in Qt 4.2.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQNetworkInterface::InterfaceFlagstatic final classQFlagstype for enumQNetworkInterface.InterfaceFlagstatic enumJava wrapper for Qt enumQNetworkInterface::InterfaceType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObjectThis variable stores the meta-object for the class. -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal QList<QNetworkAddressEntry>static QList<QHostAddress>static QList<QNetworkInterface>final voidassign(QNetworkInterface other) clone()Creates and returns a copy of this object.flags()final Stringfinal Stringfinal intindex()static QNetworkInterfaceinterfaceFromIndex(int index) static QNetworkInterfaceinterfaceFromName(String name) static intinterfaceIndexFromName(String name) static StringinterfaceNameFromIndex(int index) final booleanisValid()final intfinal Stringname()final voidswap(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:
- Since:
- This function was introduced in Qt 4.5.
-
index
- Returns:
- Since:
- This function was introduced in Qt 4.5.
-
isValid
- Returns:
-
maximumTransmissionUnit
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
name
- Returns:
-
assign
- Parameters:
other-
-
swap
- Parameters:
other-- Since:
- This function was introduced in Qt 5.0.
-
type
- Returns:
- Since:
- This function was introduced in Qt 5.11.
-
allAddresses
- Returns:
-
allInterfaces
- Returns:
-
interfaceFromIndex
- Parameters:
index-- Returns:
-
interfaceFromName
- Parameters:
name-- Returns:
-
interfaceIndexFromName
- Parameters:
name-- Returns:
- Since:
- This function was introduced in Qt 5.7.
-
interfaceNameFromIndex
- Parameters:
index-- Returns:
- Since:
- This function was introduced in Qt 5.7.
-
toString
See
operator<<(QDebug,QNetworkInterface) -
clone
Creates and returns a copy of this object.
-