java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QNetworkInterface
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QNetworkInterface extends QtObject implements Cloneable
Listing of the host's IP addresses and network interfaces
Java wrapper for Qt class QNetworkInterface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QNetworkInterface.InterfaceFlag
Java wrapper for Qt enum QNetworkInterface::InterfaceFlagstatic class
QNetworkInterface.InterfaceFlags
QFlags type for enumQNetworkInterface.InterfaceFlag
static class
QNetworkInterface.InterfaceType
Java wrapper for Qt enum QNetworkInterface::InterfaceType -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QNetworkInterface()
QNetworkInterface(QNetworkInterface other)
protected
QNetworkInterface(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QList<QNetworkAddressEntry>
addressEntries()
static QList<QHostAddress>
allAddresses()
static QList<QNetworkInterface>
allInterfaces()
QNetworkInterface
clone()
QNetworkInterface.InterfaceFlags
flags()
String
hardwareAddress()
String
humanReadableName()
int
index()
static QNetworkInterface
interfaceFromIndex(int index)
static QNetworkInterface
interfaceFromName(String name)
static int
interfaceIndexFromName(String name)
static String
interfaceNameFromIndex(int index)
boolean
isValid()
int
maximumTransmissionUnit()
String
name()
void
swap(QNetworkInterface other)
String
toString()
QNetworkInterface.InterfaceType
type()
-
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