#include <QtGui/qboxlayout.h> #ifndef QBOXLAYOUT_H class QBoxLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: void setDirection(enum QBoxLayout::Direction); /* ... */ }; #endif // QBOXLAYOUT_H