#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_MEMBER_TEMPLATES public: template < typename T > static inline class QVariant fromValue(T const & value); #endif /* ... */ }; #endif // QVARIANT_H