#include <QtGui/qstackedlayout.h> #ifndef QSTACKEDLAYOUT_H class QStackedLayout: public QLayout{ /* Some contents are skipped to improve readability */ public: virtual class QLayoutItem* takeAt(int); /* ... */ }; #endif // QSTACKEDLAYOUT_H