#include <QtGui/qlayout.h> #ifndef QLAYOUT_H class QLayout: public QObject, public QLayoutItem{ /* Some contents are skipped to improve readability */ public: virtual class QLayoutItem* takeAt(int index) = 0; /* ... */ }; #endif // QLAYOUT_H