#include <QtGui/qsizepolicy.h> #ifndef QSIZEPOLICY_H class QSizePolicy{ /* Some contents are skipped to improve readability */ public: inline bool operator ==(class QSizePolicy const & s) const /* ... */ }; #endif // QSIZEPOLICY_H