7#include <private/qstdweb_p.h>
8#include <private/qsimpledrag_p.h>
10#include <qpa/qplatformdrag.h>
11#include <QtGui/qdrag.h>
19class QWasmDrag
final :
public QSimpleDrag
26 QWasmDrag &
operator=(
const QWasmDrag &other) =
delete;
27 QWasmDrag &
operator=(QWasmDrag &&other) =
delete;
43 std::unique_ptr<DragState> m_dragState;
\inmodule QtCore\reentrant
DragImage(const QPixmap &pixmap, const QMimeData *mimeData, QWindow *window)
emscripten::val htmlElement()
QWasmDrag(QWasmDrag &&other)=delete
void onNativeDragFinished(DragEvent *event)
QWasmDrag & operator=(QWasmDrag &&other)=delete
Qt::DropAction drag(QDrag *drag) final
void onNativeDrop(DragEvent *event)
QWasmDrag(const QWasmDrag &other)=delete
void onNativeDragLeave(DragEvent *event)
QWasmDrag & operator=(const QWasmDrag &other)=delete
void onNativeDragOver(DragEvent *event)
static QWasmDrag * instance()
void onNativeDragStarted(DragEvent *event)
static QWasmIntegration * get()
emscripten::val element() const
static QWasmWindow * fromWindow(const QWindow *window)
friend class QWasmCompositor
QWasmScreen * platformScreen() const
QWindow * windowForDrag(QDrag *drag)
DragState(QWasmDrag &&other)=delete
std::function< void()> quitEventLoopClosure
DragState(QDrag *drag, QWindow *window, std::function< void()> quitEventLoopClosure)
std::unique_ptr< DragImage > dragImage
Qt::DropAction dropAction
DragState(const QWasmDrag &other)=delete
DragState & operator=(QWasmDrag &&other)=delete
DragState & operator=(const QWasmDrag &other)=delete