#include <QtGui/qevent.h> #ifndef QEVENT_H class QMoveEvent: public QEvent{ /* Some contents are skipped to improve readability */ protected: class QPoint oldp; /* ... */ }; #endif // QEVENT_H