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