Qt for HarmonyOS/qtohosextras doc/CheckResult Class: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | < [[Qt_for_HarmonyOS/qtohosextras_doc|Qt for HarmonyOS / qtohosextras doc]] | ||
= CheckResult Class = | = CheckResult Class = | ||
The CheckResult class encapsulates the result of all requested file access permission checks. More... | |||
The | |||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
! Header: | |||
| | | #include <CheckResult> | ||
|- | |- | ||
! qmake: | |||
| QT += ohosextras | |||
|- | |- | ||
! Since: | |||
| Qt 5.12.12 | |||
|} | |} | ||
* [[List_of_All_Members_for_CheckResult|List of all members, including inherited members]] | |||
* [[ | |||
== Public Functions == | == Public Functions == | ||
{| class="wikitable" style="width:100%" | |||
|- | |- | ||
| virtual || '''[[#dtor.CheckResult|~CheckResult]]'''() | |||
| | |||
|- | |- | ||
| virtual QList<QtOhosExtras::FileShare::PathPolicyCheckResult> || '''[[#checkResultList|checkResultList]]'''() const = 0 | |||
| | |||
|- | |- | ||
| int || '''[[#operationStatus|operationStatus]]'''() const | |||
| | |||
|} | |} | ||
== Protected Functions == | == Protected Functions == | ||
{| class="wikitable" style="width:100%" | |||
|- | |- | ||
| | | || '''[[#CheckResult|CheckResult]]'''() | ||
|} | |} | ||
== Detailed Description == | == Detailed Description == | ||
The | The CheckResult class encapsulates the result of all requested file access permission checks. | ||
'''See also '''[[FileShare_Namespace#checkPersistent|checkPersistent()]]. | |||
'''See also''' [[ | |||
== Member Function Documentation == | == Member Function Documentation == | ||
< | === <span id="CheckResult"></span>[protected] CheckResult::CheckResult() === | ||
QList<QtOhosExtras::FileShare::PathPolicyCheckResult> | |||
CheckResult::checkResultList() const | Default constructs an instance of CheckResult. | ||
=== <span id="dtor.CheckResult"></span>[virtual] CheckResult::~CheckResult() === | |||
Destroys the instance of CheckResult. The destructor is virtual. | |||
=== <span id="checkResultList"></span>[pure virtual] QList<[[PathPolicyCheckResult_Class|QtOhosExtras::FileShare::PathPolicyCheckResult]]> CheckResult::checkResultList() const === | |||
Returns a list of results for each individual file access permission check. | Returns a list of results for each individual file access permission check. | ||
| Line 81: | Line 59: | ||
Each entry in the list corresponds to a specific file and its check result. | Each entry in the list corresponds to a specific file and its check result. | ||
'''See also''' [[ | '''See also '''[[PathPolicyCheckResult_Class|PathPolicyCheckResult]]. | ||
int CheckResult::operationStatus() const | |||
=== <span id="operationStatus"></span>int CheckResult::operationStatus() const === | |||
Returns the overall result of all requested file access permission checks. | |||
'''See also '''[[QOhosOperationStatus_Class|QOhosOperationStatus]]. | |||
[[Category:Qt for HarmonyOS]] | |||
Latest revision as of 03:19, 29 January 2026
< Qt for HarmonyOS / qtohosextras doc
CheckResult Class
The CheckResult class encapsulates the result of all requested file access permission checks. More...
| Header: | #include <CheckResult> |
|---|---|
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
Public Functions
| virtual | ~CheckResult() |
| virtual QList<QtOhosExtras::FileShare::PathPolicyCheckResult> | checkResultList() const = 0 |
| int | operationStatus() const |
Protected Functions
| CheckResult() |
Detailed Description
The CheckResult class encapsulates the result of all requested file access permission checks.
See also checkPersistent().
Member Function Documentation
[protected] CheckResult::CheckResult()
Default constructs an instance of CheckResult.
[virtual] CheckResult::~CheckResult()
Destroys the instance of CheckResult. The destructor is virtual.
Returns a list of results for each individual file access permission check.
Each entry in the list corresponds to a specific file and its check result.
See also PathPolicyCheckResult.
int CheckResult::operationStatus() const
Returns the overall result of all requested file access permission checks.
See also QOhosOperationStatus.