#include <QtGui/qboxlayout.h> #ifndef QBOXLAYOUT_H class QBoxLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: bool setStretchFactor(struct QWidget* w, int stretch); /* ... */ }; #endif // QBOXLAYOUT_H