Qt for HarmonyOS/qtohosextras doc/PathPolicyErrorInfo Class: Difference between revisions
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..." |
Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
= PathPolicyErrorInfo Struct = | |||
= PathPolicyErrorInfo | |||
struct [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|QtOhosExtras]]::[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace|FileShare]]::PathPolicyErrorInfo | |||
The | The PathPolicyErrorInfo struct contains the result of a file access permission request for a specified path. [[#details|More...]] | ||
{| class="wikitable" | |||
{| class="wikitable | |||
|- | |- | ||
| Header: | |||
| | | #include <PathPolicyErrorInfo> | ||
|- | |- | ||
| 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_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]] | ||
== Public Variables == | == Public Variables == | ||
{| class="wikitable" | |||
{| class="wikitable | |||
|- | |- | ||
| | | PathPolicyError | ||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyErrorInfo_Class#error-var|error]]''' | |||
|- | |- | ||
| QString | |||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyErrorInfo_Class#errorMessage-var|errorMessage]]''' | |||
|- | |- | ||
| QString | |||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicyErrorInfo_Class#path-var|path]]''' | |||
|} | |} | ||
== Detailed Description == | == Detailed Description == | ||
'''See also '''[[Qt_for_HarmonyOS/qtohosextras_doc/ActionResult_Class|ActionResult]]. | |||
== Member Variable Documentation == | == Member Variable Documentation == | ||
=== <span id="error-var"></span>[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#PathPolicyError-enum|PathPolicyError]] PathPolicyErrorInfo::error === | |||
=== <span id="error-var"></span | |||
This variable holds the error code indicating the result of the file access permission request. | This variable holds the error code indicating the result of the file access permission request. | ||
'''See also''' [[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#PathPolicyError-enum|PathPolicyError]]. | '''See also '''[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#PathPolicyError-enum|PathPolicyError]]. | ||
=== <span id="errorMessage-var"></span>[https://doc.qt.io/qt-5/qstring.html QString] PathPolicyErrorInfo::errorMessage === | |||
=== <span id="errorMessage-var"></span | |||
Detailed error message. | Detailed error message. | ||
=== <span id="path-var"></span>[https://doc.qt.io/qt-5/qstring.html QString] PathPolicyErrorInfo::path === | |||
=== <span id="path-var"></span | |||
This variable holds the path for which access permission was requested. | This variable holds the path for which access permission was requested. | ||
[[Category:Qt for HarmonyOS]] | |||
Latest revision as of 06:06, 17 September 2026
PathPolicyErrorInfo Struct
struct 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 |
This struct was introduced in Qt 5.12.12.
Public Variables
| PathPolicyError | error |
| QString | errorMessage |
| QString | path |
Detailed Description
See also ActionResult.
Member Variable Documentation
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.