#include <QtCore/qurl.h> #ifndef QURL_H class QUrl{ /* Some contents are skipped to improve readability */ public: enum ParsingMode{ TolerantMode = 0, StrictMode = 1, }; /* ... */ }; #endif // QURL_H