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