summaryrefslogtreecommitdiffstats
path: root/util/locale_database/testlocales/localemodel.h
diff options
context:
space:
mode:
authorDavid Redondo <qt@david-redondo.de>2022-10-18 11:57:22 +0200
committerDavid Redondo <qt@david-redondo.de>2022-11-29 13:45:35 +0200
commitd21b48435436759c4e86cd8db15af8bedba6c552 (patch)
tree1dac98576f6037d0adf9f70510dbf4d3c766f5d8 /util/locale_database/testlocales/localemodel.h
parent6847a19e3edc76cce6ca0f0c25e520db591cedb9 (diff)
Add QNativeInterface::Private::QWaylandWindow
Allows to access the wl_surface, the setCustomMargins functions and the object corresponding to the surface role of the surface. Also adds the xdg activation token functionality as it is needed by another change in qtbase. If the type passed to surfaceRole does not match the actual type of the current surface role nullptr is returned. QVariant is not used for transferring the surface role object because it requires Q_DECLARE_OPAQUE_POINTER for storing and retrieving from the QVariant. However QtWayland uses a plugin system for shell integrations with known external plugins so it is not possible to centrally do this for every possible pointer type. The alternative would be that plugin and consumer delcare it both which does not make for an ergonomic API. Change-Id: I6f4e036846485ba1895e7435bb28827b83249024 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'util/locale_database/testlocales/localemodel.h')
0 files changed, 0 insertions, 0 deletions