#include <QtNetwork/qnetworkinterface.h> #ifndef QNETWORKINTERFACE_H class QNetworkInterface{ /* Some contents are skipped to improve readability */ public: enum InterfaceFlag{ /* ... */ CanBroadcast = 4, /* ... */ }; /* ... */ }; #endif