#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ #ifndef QT_MOC protected: static struct QVariant::Handler const * handler; #endif /* ... */ }; #endif // QVARIANT_H