#include <QtCore/qurl.h> #ifndef QURL_H class QUrl{ /* Some contents are skipped to improve readability */ public: void setHost(class QString const & host); /* ... */ }; #endif // QURL_H