#include <QtNetwork/qhostinfo.h> #ifndef QHOSTINFO_H class QHostInfo{ /* Some contents are skipped to improve readability */ public: static int lookupHost(class QString const & name, class QObject* receiver, char const * member); /* ... */ }; #endif // QHOSTINFO_H