#include <QtGui/qevent.h> #ifndef QEVENT_H #ifndef QT_NO_DRAGANDDROP class QDropEvent: public QEvent, public QMimeSource{ /* Some contents are skipped to improve readability */ public: virtual char const * format(int n = 0) const /* ... */ }; #endif // QT_NO_DRAGANDDROP #endif // QEVENT_H