#include <QtGui/qdrag.h> #ifndef QDRAG_H #ifndef QT_NO_DRAGANDDROP class QDrag: public QObject{ /* Some contents are skipped to improve readability */ public: enum Qt::DropAction start(Qt::DropActions supportedActions = Qt::CopyAction); /* ... */ }; #endif // QT_NO_DRAGANDDROP #endif // QDRAG_H