#include <QtGui/qboxlayout.h> #ifndef QBOXLAYOUT_H class QBoxLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: virtual bool hasHeightForWidth() const /* ... */ }; #endif // QBOXLAYOUT_H