#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ #ifndef QT3_SUPPORT private: inline QVariant(bool, int); #endif /* ... */ }; #endif // QVARIANT_H