#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_GEOM_VARIANT public: QVariant(struct QRect const & rect); #endif /* ... */ }; #endif // QVARIANT_H