Qt for HarmonyOS/qtohosextras doc/PathPolicyCheckResult Class: Difference between revisions
No edit summary |
Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
= PathPolicyCheckResult Struct = | |||
= PathPolicyCheckResult | |||
struct [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|QtOhosExtras]]::[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace|FileShare]]::PathPolicyCheckResult | |||
The | The PathPolicyCheckResult struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied. [[#details|More...]] | ||
{| class="wikitable" | |||
{| class="wikitable | |||
|- | |- | ||
| Header: | |||
| | | #include <PathPolicyCheckResult> | ||
|- | |- | ||
| qmake: | |||
| QT += ohosextras | |||
|- | |- | ||
| Since: | |||
| Qt 5.12.12 | |||
|} | |} | ||
This struct was introduced in Qt 5.12.12. | |||
* [[Qt_for_HarmonyOS/qtohosextras_doc/List_of_All_Members_for_PathPolicyCheckResult|List of all members, including inherited members]] | * [[Qt_for_HarmonyOS/qtohosextras_doc/List_of_All_Members_for_PathPolicyCheckResult|List of all members, including inherited members]] | ||
== Public Variables == | == Public Variables == | ||
{| class="wikitable" | |||
{| class="wikitable | |||
|- | |- | ||
| | | PathPolicy | ||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class#policy-var|policy]]''' | |||
|- | |- | ||
| bool | |||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class#result-var|result]]''' | |||
|} | |} | ||
== Detailed Description == | == Detailed Description == | ||
== Member Variable Documentation == | == Member Variable Documentation == | ||
=== <span | === <span id="policy-var"></span>[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]] PathPolicyCheckResult::policy === | ||
This variable holds the requested path and the corresponding operation mode information. | This variable holds the requested path and the corresponding operation mode information. | ||
'''See also''' [[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]]. | '''See also '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]]. | ||
=== <span | === <span id="result-var"></span>bool PathPolicyCheckResult::result === | ||
This variable holds the outcome of the permission check for the requested path and operation mode. | This variable holds the outcome of the permission check for the requested path and operation mode. | ||
[[Category:Qt for HarmonyOS]] | |||
Latest revision as of 06:05, 17 September 2026
PathPolicyCheckResult Struct
struct QtOhosExtras::FileShare::PathPolicyCheckResult
The PathPolicyCheckResult struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied. More...
| Header: | #include <PathPolicyCheckResult> |
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
This struct was introduced in Qt 5.12.12.
Public Variables
| PathPolicy | policy |
| bool | result |
Detailed Description
Member Variable Documentation
PathPolicy PathPolicyCheckResult::policy
This variable holds the requested path and the corresponding operation mode information.
See also PathPolicy.
bool PathPolicyCheckResult::result
This variable holds the outcome of the permission check for the requested path and operation mode.