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