#include <QtGui/qlayout.h> #ifndef QLAYOUT_H class QLayout: public QObject, public QLayoutItem{ /* Some contents are skipped to improve readability */ public: bool setAlignment(class QLayout* l, Qt::Alignment alignment); /* ... */ }; #endif // QLAYOUT_H