Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicyCheckResult Class: Difference between revisions

From Qt Wiki
Created page with "<!-- Source: qtohosextras-fileshare-pathpolicycheckresult.html --> <span id="pathpolicycheckresult-class"></span> = PathPolicyCheckResult Class = <span class="small-subtitle">(QtOhosExtras::FileShare::PathPolicyCheckResult)<br /> </span> The PathPolicyCheckResult struct contains the result of a file permission check request for a specified..."
 
No edit summary
 
Line 13: Line 13:
|-
|-
| class="memItemLeft rightAlign topAlign"| Header:
| class="memItemLeft rightAlign topAlign"| Header:
| class="memItemRight bottomAlign"| <span class="preprocessor">#include </span>
| class="memItemRight bottomAlign"| <span class="preprocessor">#include <PathPolicyCheckResult></span>
|-
|-
| class="memItemLeft rightAlign topAlign"| qmake:
| class="memItemLeft rightAlign topAlign"| qmake:
Line 21: Line 21:
| class="memItemRight bottomAlign"| Qt 5.12.12
| class="memItemRight bottomAlign"| Qt 5.12.12
|}
|}
</div>
</div>
* [[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]]
<span id="public-variables"></span>


<span id="public-variables"></span>
<span id="public-variables"></span>
Line 52: Line 48:


The [[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class|PathPolicyCheckResult]] struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied.
The [[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class|PathPolicyCheckResult]] struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied.
</div>
<div class="vars">


<span id="member-variable-documentation"></span>
<span id="member-variable-documentation"></span>
== Member Variable Documentation ==
== Member Variable Documentation ==


<span id="policy-var"></span>
=== <span class="type">[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|QtOhosExtras::FileShare::PathPolicy]]</span> PathPolicyCheckResult::<span class="name">policy</span> ===
=== <span id="policy-var"></span><span class="type">[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|QtOhosExtras::FileShare::PathPolicy]]</span> PathPolicyCheckResult::<span class="name">policy</span> ===


This variable holds the requested path and the corresponding operation mode information.
This variable holds the requested path and the corresponding operation mode information.
Line 67: Line 58:
'''See also''' [[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]].
'''See also''' [[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]].


<span id="result-var"></span>
=== <span class="type">bool</span> PathPolicyCheckResult::<span class="name">result</span> ===
=== <span id="result-var"></span><span class="type">bool</span> PathPolicyCheckResult::<span class="name">result</span> ===


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.

Latest revision as of 07:58, 28 January 2026

PathPolicyCheckResult Class

(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

Public Variables

QtOhosExtras::FileShare::PathPolicy policy
bool result


Detailed Description

The PathPolicyCheckResult struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied.

Member Variable Documentation

QtOhosExtras::FileShare::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.