#ifndef PYTHONQTWRAPPER_QDRAG_H #define PYTHONQTWRAPPER_QDRAG_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QDrag : public QObject { Q_OBJECT public: public slots: QDrag* new_QDrag(QWidget* dragSource); void delete_QDrag(QDrag* obj) { delete obj; } Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions = Qt::MoveAction); Qt::DropAction exec(QDrag* theWrappedObject, Qt::DropActions supportedActions, Qt::DropAction defaultAction); QPoint hotSpot(QDrag* theWrappedObject) const; QMimeData* mimeData(QDrag* theWrappedObject) const; QPixmap pixmap(QDrag* theWrappedObject) const; void setDragCursor(QDrag* theWrappedObject, const QPixmap& cursor, Qt::DropAction action); void setHotSpot(QDrag* theWrappedObject, const QPoint& hotspot); void setMimeData(QDrag* theWrappedObject, QMimeData* data); void setPixmap(QDrag* theWrappedObject, const QPixmap& arg__1); QWidget* source(QDrag* theWrappedObject) const; QWidget* target(QDrag* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QDRAG_H