#include <QtGui/qstackedwidget.h> #ifndef QSTACKEDWIDGET_H #ifndef QT_NO_STACKEDWIDGET class QStackedWidget: public QFrame{ /* Some contents are skipped to improve readability */ protected: virtual bool event(struct QEvent* e); /* ... */ }; #endif // QT_NO_STACKEDWIDGET #endif // QSTACKEDWIDGET_H