diff --git a/src/plugins/platforms/wasm/qwasmcompositor.h b/src/plugins/platforms/wasm/qwasmcompositor.h index 211579fb5a..55f93209f3 100644 --- a/src/plugins/platforms/wasm/qwasmcompositor.h +++ b/src/plugins/platforms/wasm/qwasmcompositor.h @@ -37,12 +37,6 @@ public: void initEventHandlers(); - struct QWasmFrameOptions { - QRect rect; - int lineWidth; - QPalette palette; - }; - void addWindow(QWasmWindow *window); void removeWindow(QWasmWindow *window); @@ -61,9 +55,6 @@ public: void requestUpdateAllWindows(); void requestUpdateWindow(QWasmWindow *window, UpdateRequestDeliveryType updateType = ExposeEventDelivery); - void setCapture(QWasmWindow *window); - void releaseCapture(); - void handleBackingStoreFlush(QWindow *window); private: @@ -85,16 +76,11 @@ private: bool processKeyboard(int eventType, const EmscriptenKeyboardEvent *keyEvent); bool processTouch(int eventType, const EmscriptenTouchEvent *touchEvent); - void enterWindow(QWindow *window, const QPoint &localPoint, const QPoint &globalPoint); - void leaveWindow(QWindow *window); - void updateEnabledState(); QWasmWindowStack m_windowStack; bool m_isEnabled = true; - QSize m_targetSize; - qreal m_targetDevicePixelRatio = 1; QMap m_requestUpdateWindows; bool m_requestUpdateAllWindows = false; int m_requestAnimationFrameId = -1;