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