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