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