#include <QtGui/qstackedwidget.h> #ifndef QSTACKEDWIDGET_H #ifndef QT_NO_STACKEDWIDGET class QStackedWidget: public QFrame{ /* Some contents are skipped to improve readability */ public: void removeWidget(class QWidget* w); /* ... */ }; #endif // QT_NO_STACKEDWIDGET #endif // QSTACKEDWIDGET_H