#include <QtGui/qboxlayout.h> #ifndef QBOXLAYOUT_H class QBoxLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: enum Direction{ /* ... */ RightToLeft = 1, /* ... */ }; /* ... */ }; #endif // QBOXLAYOUT_H