#include <QtGui/qsizepolicy.h> #ifndef QSIZEPOLICY_H class QSizePolicy{ /* Some contents are skipped to improve readability */ public: enum Policy{ /* ... */ Preferred = 5, /* ... */ }; /* ... */ }; #endif // QSIZEPOLICY_H