#include <QtGui/qevent.h> #ifndef QEVENT_H class QShowEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: QShowEvent(); /* ... */ }; #endif // QEVENT_H