#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ #ifndef qdoc public: struct Private{ /* ... */ public: union Data{ /* ... */ struct QVariant::PrivateShared* shared; /* ... */ }; /* ... */ }; #endif /* ... */ }; #endif // QVARIANT_H