#include <QtGui/qdrag.h> #ifndef QDRAG_H #ifndef QT_NO_DRAGANDDROP class QDrag: public QObject{ /* Some contents are skipped to improve readability */ public: void setDragCursor(struct QPixmap const & cursor, enum Qt::DropAction action); /* ... */ }; #endif // QT_NO_DRAGANDDROP #endif // QDRAG_H