#include <QtGui/qlayout.h> #ifndef QLAYOUT_H class QLayout: public QObject, public QLayoutItem{ /* Some contents are skipped to improve readability */ public: enum SizeConstraint{ /* ... */ SetMinAndMaxSize = 5, /* ... */ }; /* ... */ }; #endif // QLAYOUT_H