#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_DRAGANDDROP class QDragMoveEvent: public QDropEvent{ /* Some contents are skipped to improve readability */ friend struct QApplication; /* ... */ }; #endif // QT_NO_DRAGANDDROP #endif // QEVENT_H