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