#include <QtGui/qboxlayout.h> #ifndef QBOXLAYOUT_H class QBoxLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: void addWidget(struct QWidget*, int stretch = 0, Qt::Alignment alignment = 0); /* ... */ }; #endif // QBOXLAYOUT_H