#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ public: static enum QVariant::Type nameToType(char const * name); /* ... */ }; #endif // QVARIANT_H