Jump to content

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

From Qt Wiki
Created page with "<!-- Source: qtohosextras-fileshare-pathpolicyerrorinfo.html --> <span id="pathpolicyerrorinfo-class"></span> = PathPolicyErrorInfo Class = <span class="small-subtitle">(QtOhosExtras::FileShare::PathPolicyErrorInfo)<br /> </span> The PathPolicyErrorInfo struct contains the result of a file access permission request for a specified path. #det..."
 
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 <PathPolicyErrorInfo></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_PathPolicyErrorInfo|List of all members, including inherited members]]
* [[Qt_for_HarmonyOS/qtohosextras_doc/List_of_All_Members_for_PathPolicyErrorInfo|List of all members, including inherited members]]
<span id="public-variables"></span>


<span id="public-variables"></span>
<span id="public-variables"></span>
Line 44: Line 41:
| class="memItemRight bottomAlign"| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyErrorInfo_Class#path-var|path]]'''
| class="memItemRight bottomAlign"| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyErrorInfo_Class#path-var|path]]'''
|}
|}
</div>
<span id="details"></span>
<div class="descr">


<span id="details"></span>
<span id="details"></span>

Latest revision as of 07:59, 28 January 2026

PathPolicyErrorInfo Class

(QtOhosExtras::FileShare::PathPolicyErrorInfo)

The PathPolicyErrorInfo struct contains the result of a file access permission request for a specified path. More...

Header: #include <PathPolicyErrorInfo>
qmake: QT += ohosextras
Since: Qt 5.12.12

Public Variables

QtOhosExtras::FileShare::PathPolicyError error
QString errorMessage
QString path

Detailed Description

The PathPolicyErrorInfo struct contains the result of a file access permission request for a specified path.


See also ActionResult.

Member Variable Documentation

QtOhosExtras::FileShare::PathPolicyError PathPolicyErrorInfo::error

This variable holds the error code indicating the result of the file access permission request.

See also PathPolicyError.

QString PathPolicyErrorInfo::errorMessage

Detailed error message.

QString PathPolicyErrorInfo::path

This variable holds the path for which access permission was requested.