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