#include <QtXml/qxml.h> #ifndef QXML_H class QXmlAttributes{ /* Some contents are skipped to improve readability */ private: typedef class QList < struct QXmlAttributes::Attribute > AttributeList; /* ... */ }; #endif // QXML_H