#include <QtGui/qdrag.h> #ifndef QDRAG_H #ifndef QT_NO_DRAGANDDROP class QDrag: public QObject{ /* Some contents are skipped to improve readability */ protected: void targetChanged(struct QWidget* newTarget); /* ... */ }; #endif // QT_NO_DRAGANDDROP #endif // QDRAG_H