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