#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_DRAGANDDROP class QDragMoveEvent: public QDropEvent{ /* Some contents are skipped to improve readability */ public: inline void ignore(); /* ... */ }; #endif // QT_NO_DRAGANDDROP #endif // QEVENT_H