summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmcursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmcursor.h')
-rw-r--r--src/plugins/platforms/wasm/qwasmcursor.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/plugins/platforms/wasm/qwasmcursor.h b/src/plugins/platforms/wasm/qwasmcursor.h
index 1fad7475e0..6873602caf 100644
--- a/src/plugins/platforms/wasm/qwasmcursor.h
+++ b/src/plugins/platforms/wasm/qwasmcursor.h
@@ -6,17 +6,14 @@
#include <qpa/qplatformcursor.h>
+QT_BEGIN_NAMESPACE
+
class QWasmCursor : public QPlatformCursor
{
public:
void changeCursor(QCursor *windowCursor, QWindow *window) override;
-
- QByteArray cursorShapeToHtml(Qt::CursorShape shape);
- static void setOverrideWasmCursor(QCursor *windowCursor, QScreen *screen);
- static void clearOverrideWasmCursor(QScreen *screen);
-private:
- QByteArray htmlCursorName = "default";
- void setWasmCursor(QScreen *screen, const QByteArray &name);
};
+QT_END_NAMESPACE
+
#endif