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