diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-07-06 09:40:41 +0200 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-09-08 19:17:25 +0200 |
| commit | f56329c995d4a708d4169ef52f819b38de1810b0 (patch) | |
| tree | 6288a93258626b312899a5fa4d868b27fa0c0564 /sources/pyside-tools/android_deploy.py | |
| parent | 7f4245a4cf3cdad151f0f6677fe92cbef3bb9be5 (diff) | |
PySide: Add requestPermission()
- Only relevant for platforms like Android, where QT_FEATURE_permissions
is turned ON.
- Used a callback from the wrapper code to establish a call back to the
passed Python functor.
- The passed functor can either have no parameters, or have a
QPermission object as parameter. In the latter case, the QPermission
object will store the result of requestPermission(). This is
similar to the Qt API.
Pick-to: 6.5
Task-number: PYSIDE-1612
Change-Id: I0de8d1c67e69590d2a63ee51c61dfb3a8b76a43f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/android_deploy.py')
0 files changed, 0 insertions, 0 deletions
