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..."
 
Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Source: qtohosextras-fileshare-pathpolicycheckresult.html -->
= PathPolicyCheckResult Struct =
<span id="pathpolicycheckresult-class"></span>
= PathPolicyCheckResult Class =


<span class="small-subtitle">([[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class|QtOhosExtras::FileShare::PathPolicyCheckResult]])<br />
struct [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|QtOhosExtras]]::[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace|FileShare]]::PathPolicyCheckResult
</span>


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. [[#details|More...]]
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...]]


<div class="table">
{| class="wikitable"
 
{| class="wikitable alignedsummary"
|-
|-
| class="memItemLeft rightAlign topAlign"| Header:
| Header:
| class="memItemRight bottomAlign"| <span class="preprocessor">#include </span>
| #include <PathPolicyCheckResult>
|-
|-
| class="memItemLeft rightAlign topAlign"| qmake:
| qmake:
| class="memItemRight bottomAlign"| QT += ohosextras
| QT += ohosextras
|-
|-
| class="memItemLeft rightAlign topAlign"| Since:
| Since:
| class="memItemRight bottomAlign"| Qt 5.12.12
| Qt 5.12.12
|}
|}


This struct was introduced in Qt 5.12.12.


</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>
== Public Variables ==
== Public Variables ==


<div class="table">
{| class="wikitable"
 
{| class="wikitable alignedsummary"
|-
|-
| class="memItemLeft rightAlign topAlign"| QtOhosExtras::FileShare::PathPolicy
| PathPolicy
| class="memItemRight bottomAlign"| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class#policy-var|policy]]'''
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class#policy-var|policy]]'''
|-
|-
| class="memItemLeft rightAlign topAlign"| bool
| bool
| class="memItemRight bottomAlign"| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class#result-var|result]]'''
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyCheckResult_Class#result-var|result]]'''
|}
|}


</div>
<span id="details"></span>
<div class="descr">
<span id="details"></span>
== Detailed Description ==
== Detailed Description ==


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>
== Member Variable Documentation ==
== Member Variable Documentation ==


<span id="policy-var"></span>
=== <span id="policy-var"></span>[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]] PathPolicyCheckResult::policy ===
=== <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.


'''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 id="result-var"></span>bool PathPolicyCheckResult::result ===
=== <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.


 
[[Category:Qt for HarmonyOS]]
</div>

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.