#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ #ifndef qdoc public: typedef void (* f_construct)(struct QVariant::Private*, void const *); #endif /* ... */ }; #endif // QVARIANT_H