#include <QtNetwork/qnetworkproxy.h> #ifndef QNETWORKPROXY_H #ifndef QT_NO_NETWORKPROXY class QNetworkProxy{ /* Some contents are skipped to improve readability */ public: class QNetworkProxy& operator =(class QNetworkProxy const & other); /* ... */ }; #endif // QT_NO_NETWORKPROXY #endif // QHOSTINFO_H