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..." |
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 <PathPolicy></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_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]] | ||
<span id="public-variables"></span> | <span id="public-variables"></span> | ||
| Line 41: | Line 37: | ||
| class="memItemRight bottomAlign"| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class#path-var|path]]''' | | class="memItemRight bottomAlign"| '''[[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class#path-var|path]]''' | ||
|} | |} | ||
<span id="details"></span> | <span id="details"></span> | ||
| Line 52: | Line 42: | ||
The [[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]] struct encapsulates information required to request file access permissions for a specified path. | The [[Qt_for_HarmonyOS/qtohosextras_doc/PathPolicy_Class|PathPolicy]] struct encapsulates information required to request file access permissions for a specified path. | ||
<span id="member-variable-documentation"></span> | <span id="member-variable-documentation"></span> | ||
== Member Variable Documentation == | == Member Variable Documentation == | ||
=== <span class="type">[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#OperationMode-enum|QtOhosExtras::FileShare::OperationModes]]</span> PathPolicy::<span class="name">operationModes</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. | ||
| Line 67: | Line 52: | ||
'''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 class="type">[[../qtcore/qstring.html|QString]]</span> PathPolicy::<span class="name">path</span> === | |||
== | |||
This variable holds the path for which access permission is requested. | This variable holds the path for which access permission is requested. | ||
Latest revision as of 07:57, 28 January 2026
PathPolicy Class
(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 |
Public Variables
| QtOhosExtras::FileShare::OperationModes | operationModes |
| QString | path |
Detailed Description
The PathPolicy struct encapsulates information required to request file access permissions for a specified path.
Member Variable Documentation
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.