#include <QtGui/qsplashscreen.h> #ifndef QSPLASHSCREEN_H #ifndef QT_NO_SPLASHSCREEN class QSplashScreen: public QWidget{ /* Some contents are skipped to improve readability */ protected: virtual void mousePressEvent(struct QMouseEvent*); /* ... */ }; #endif // QT_NO_SPLASHSCREEN #endif // QSPLASHSCREEN_H