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