#include <QtXml/qxml.h> #ifndef QXML_H class QXmlParseException{ /* Some contents are skipped to improve readability */ public: class QString publicId() const /* ... */ }; #endif // QXML_H