#include <QtGui/qlayout.h> #ifndef QLAYOUT_H class QLayout: public QObject, public QLayoutItem{ /* Some contents are skipped to improve readability */ protected: void widgetEvent(struct QEvent*); /* ... */ }; #endif // QLAYOUT_H