![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Typedefs | |
| using | AppPermissionResult = QOhosPermissionsHelper::PermissionRequestResult |
Functions | |
| void | checkAppPermissionGrantedWithConsumer (QOhosJsState &jsState, const std::string &permissionName, QOhosConsumer< QOhosJsState &, bool > resultConsumer) |
| void | requestAppPermissionFromUser (QOhosJsState &jsState, const std::string &permissionName, QOhosConsumer< QOhosJsState &, bool > resultConsumer) |
| void | requestAppPermissionFromUser (QOhosJsState &jsState, QNapi::Object qAbility, const std::string &permissionName, QOhosConsumer< QOhosJsState &, bool > resultConsumer) |
| void | requestAppPermissionsFromUserWithResult (QOhosJsState &jsState, const std::vector< std::string > &permissionNames, QOhosConsumer< QOhosJsState &, std::vector< AppPermissionResult > > resultConsumer) |
| void | requestAppPermissionsFromUserWithResult (QOhosJsState &jsState, QNapi::Object qAbility, const std::vector< std::string > &permissionNames, QOhosConsumer< QOhosJsState &, std::vector< AppPermissionResult > > resultConsumer) |
| void | requestAppPermissionsOnSetting (QOhosJsState &jsState, const std::vector< std::string > &permissionNames, QOhosConsumer< QOhosJsState &, std::vector< bool > > resultConsumer) |
| void | requestAppPermissionsOnSetting (QOhosJsState &jsState, QNapi::Object qAbility, const std::vector< std::string > &permissionNames, QOhosConsumer< QOhosJsState &, std::vector< bool > > resultConsumer) |
Definition at line 28 of file qohosapppermissions_p.h.
| void QOhosAppPermissions::checkAppPermissionGrantedWithConsumer | ( | QOhosJsState & | jsState, |
| const std::string & | permissionName, | ||
| QOhosConsumer< QOhosJsState &, bool > | resultConsumer ) |
Definition at line 58 of file qohosapppermissions.cpp.
Referenced by QT_BEGIN_NAMESPACE::tryCaptureScreenPixelmapWithPermissionCheck().
| void QOhosAppPermissions::requestAppPermissionFromUser | ( | QOhosJsState & | jsState, |
| const std::string & | permissionName, | ||
| QOhosConsumer< QOhosJsState &, bool > | resultConsumer ) |
Definition at line 79 of file qohosapppermissions.cpp.
| void QOhosAppPermissions::requestAppPermissionFromUser | ( | QOhosJsState & | jsState, |
| QNapi::Object | qAbility, | ||
| const std::string & | permissionName, | ||
| QOhosConsumer< QOhosJsState &, bool > | resultConsumer ) |
Definition at line 95 of file qohosapppermissions.cpp.
| void QOhosAppPermissions::requestAppPermissionsFromUserWithResult | ( | QOhosJsState & | jsState, |
| const std::vector< std::string > & | permissionNames, | ||
| QOhosConsumer< QOhosJsState &, std::vector< AppPermissionResult > > | resultConsumer ) |
Definition at line 106 of file qohosapppermissions.cpp.
| void QOhosAppPermissions::requestAppPermissionsFromUserWithResult | ( | QOhosJsState & | jsState, |
| QNapi::Object | qAbility, | ||
| const std::vector< std::string > & | permissionNames, | ||
| QOhosConsumer< QOhosJsState &, std::vector< AppPermissionResult > > | resultConsumer ) |
Definition at line 128 of file qohosapppermissions.cpp.
| void QOhosAppPermissions::requestAppPermissionsOnSetting | ( | QOhosJsState & | jsState, |
| const std::vector< std::string > & | permissionNames, | ||
| QOhosConsumer< QOhosJsState &, std::vector< bool > > | resultConsumer ) |
Definition at line 196 of file qohosapppermissions.cpp.
| void QOhosAppPermissions::requestAppPermissionsOnSetting | ( | QOhosJsState & | jsState, |
| QNapi::Object | qAbility, | ||
| const std::vector< std::string > & | permissionNames, | ||
| QOhosConsumer< QOhosJsState &, std::vector< bool > > | resultConsumer ) |
Definition at line 211 of file qohosapppermissions.cpp.