Qt for HarmonyOS/qtohosextras doc/PathPolicy Class: Difference between revisions
No edit summary |
Update from qdoc output (QTFOROH-2307) |
||
| Line 1: | Line 1: | ||
< | < [[Qt_for_HarmonyOS/qtohosextras_doc|Qt for HarmonyOS / qtohosextras doc]] | ||
= PathPolicy Struct = | |||
struct [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|QtOhosExtras]]::[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace|FileShare]]::PathPolicy | |||
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 | === <span id="operationModes-var"></span>[[Qt_for_HarmonyOS/qtohosextras_doc/FileShare_Namespace#OperationMode-enum|OperationModes]] PathPolicy::operationModes === | ||
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 | === <span id="path-var"></span>[https://doc.qt.io/qt-5/qstring.html QString] PathPolicy::path === | ||
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]] | |||
Revision as of 08:14, 16 September 2026
< Qt for HarmonyOS / qtohosextras doc
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.