Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicy Class

From Qt Wiki
Revision as of 06:06, 17 September 2026 by Shawn Luo (talk | contribs) (Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.