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