#include <QtGui/qsizepolicy.h> #ifndef QSIZEPOLICY_H class QSizePolicy{ /* Some contents are skipped to improve readability */ private: enum SizePolicyMasks{ /* ... */ HSize = 4, /* ... */ }; /* ... */ }; #endif // QSIZEPOLICY_H