Qt for HarmonyOS/qtohosextras doc/PathPolicy Class: Difference between revisions
Created page with "<!-- Source: qtohosextras-fileshare-pathpolicy.html --> <span id="pathpolicy-class"></span> = PathPolicy Class = <span class="small-subtitle">(QtOhosExtras::FileShare::PathPolicy)<br /> </span> The PathPolicy struct encapsulates information required to request file access permissions for a specified path. More... <div class="table"> {| class="wik..." |
Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
= PathPolicy Struct = | |||
= PathPolicy | |||
struct [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|QtOhosExtras]]::[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace|FileShare]]::PathPolicy | |||
The | The PathPolicy struct encapsulates information required to request file access permissions for a specified path. [[#details|More...]] | ||
{| class="wikitable" | |||
{| class="wikitable | |||
|- | |- | ||
| Header: | |||
| | | #include <PathPolicy> | ||
|- | |- | ||
| 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_PathPolicy|List of all members, including inherited members]] | * [[Qt_for_HarmonyOS/qtohosextras_doc/List_of_All_Members_for_PathPolicy|List of all members, including inherited members]] | ||
== Public Variables == | == Public Variables == | ||
{| class="wikitable" | |||
{| class="wikitable | |||
|- | |- | ||
| | | OperationModes | ||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class#operationModes-var|operationModes]]''' | |||
|- | |- | ||
| QString | |||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class#path-var|path]]''' | |||
|} | |} | ||
== Detailed Description == | == Detailed Description == | ||
== Member Variable Documentation == | == Member Variable Documentation == | ||
=== <span id="operationModes-var"></span>[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#OperationMode-enum|OperationModes]] PathPolicy::operationModes === | |||
=== <span id="operationModes-var"></span | |||
This variable holds the types of access being requested for the file. | This variable holds the types of access being requested for the file. | ||
'''See also''' [[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#OperationMode-enum|OperationMode]]. | '''See also '''[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#OperationMode-enum|OperationMode]]. | ||
=== <span id="path-var"></span>[https://doc.qt.io/qt-5/qstring.html QString] PathPolicy::path === | |||
=== <span id="path-var"></span | |||
This variable holds the path for which access permission is requested. | This variable holds the path for which access permission is requested. | ||
[[Category:Qt for HarmonyOS]] | |||
Latest revision as of 06:06, 17 September 2026
PathPolicy Struct
struct QtOhosExtras::FileShare::PathPolicy
The PathPolicy struct encapsulates information required to request file access permissions for a specified path. More...
| Header: | #include <PathPolicy> |
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
This struct was introduced in Qt 5.12.12.
Public Variables
| OperationModes | operationModes |
| QString | path |
Detailed Description
Member Variable Documentation
OperationModes PathPolicy::operationModes
This variable holds the types of access being requested for the file.
See also OperationMode.
QString PathPolicy::path
This variable holds the path for which access permission is requested.