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