#include <QtCore/qvariant.h> #ifndef QVARIANT_H class QVariant{ /* Some contents are skipped to improve readability */ protected: bool cmp(class QVariant const & other) const /* ... */ }; #endif // QVARIANT_H