#include <QtNetwork/qnetworkinterface.h>
#ifndef QNETWORKINTERFACE_H
class QNetworkAddressEntry{
   /* Some contents are skipped to improve readability */
   public: class QHostAddress ip() const
   /* ... */
};
#endif