#include <QtGui/qevent.h> #ifndef QEVENT_H class QHoverEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: QHoverEvent(enum QEvent::Type type, class QPoint const & pos, class QPoint const & oldPos); /* ... */ }; #endif // QEVENT_H