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