Qt for HarmonyOS/qtohosextras doc/ActionResult Class: Difference between revisions
Update from qdoc output (QTFOROH-2307) |
Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307) |
||
| Line 1: | Line 1: | ||
= ActionResult Class = | = ActionResult Class = | ||
Latest revision as of 05:14, 17 September 2026
ActionResult Class
class QtOhosExtras::FileShare::ActionResult
The ActionResult class encapsulates the result of all file requested access permission actions. More...
| Header: | #include <ActionResult> |
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
This class was introduced in Qt 5.12.12.
Public Functions
| virtual QList<PathPolicyErrorInfo> | errorInfoList() const = 0 |
| virtual QSharedPointer<QOhosOperationStatus> | operationStatus() const = 0 |
Detailed Description
It contains any errors that occurred during the execution of these actions.
See also persistPermission(), revokePermission(), activatePermission(), and deactivatePermission().
Member Function Documentation
[pure virtual] QList<PathPolicyErrorInfo> ActionResult::errorInfoList() const
Returns a list of errors for each file access action.
Each entry in the list corresponds to a specific file operation that encountered an error.
See also PathPolicyErrorInfo.
Returns the overall result of all requested file access permission actions.
See also QOhosOperationStatus.