|
|
@ -10,6 +10,8 @@ class NetworkInterface : public QObject
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
explicit NetworkInterface(const QNetworkInterface& networkInterface, QObject *parent = nullptr);
|
|
|
|
explicit NetworkInterface(const QNetworkInterface& networkInterface, QObject *parent = nullptr);
|
|
|
|
Q_INVOKABLE QString name() const;
|
|
|
|
Q_INVOKABLE QString name() const;
|
|
|
|
|
|
|
|
Q_INVOKABLE QString physicalAddress() const;
|
|
|
|
|
|
|
|
Q_INVOKABLE QString address() const;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
QNetworkInterface m_networkInterface;
|
|
|
|
QNetworkInterface m_networkInterface;
|
|
|
|