Qt for HarmonyOS/qtohosextras doc/QOhosOperationStatus Class: Difference between revisions
No edit summary |
Update from qdoc output (QTFOROH-2307) |
||
| Line 3: | Line 3: | ||
= QOhosOperationStatus Class = | = QOhosOperationStatus Class = | ||
The QOhosOperationStatus class provides interface to | class [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|QtOhosExtras]]::QOhosOperationStatus | ||
The QOhosOperationStatus class provides an interface to check an operation status. [[#details|More...]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Header: | |||
| #include <QOhosOperationStatus> | | #include <QOhosOperationStatus> | ||
|- | |- | ||
| qmake: | |||
| QT += ohosextras | | QT += ohosextras | ||
|- | |- | ||
| Since: | |||
| Qt 5.12.12 | | Qt 5.12.12 | ||
|} | |} | ||
* [[List_of_All_Members_for_QOhosOperationStatus|List of all members, including inherited members]] | This class was introduced in Qt 5.12.12. | ||
* [[Qt_for_HarmonyOS/qtohosextras_doc/List_of_All_Members_for_QOhosOperationStatus|List of all members, including inherited members]] | |||
== Public Functions == | == Public Functions == | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
| | | virtual bool | ||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/QOhosOperationStatus_Class#success|success]]'''() const = 0 | |||
|} | |} | ||
== Detailed Description == | == Detailed Description == | ||
An instance of this class is created internally by Qt Ohos Extras module. Developer cannot create an instance - it is for checking operation status only. | An instance of this class is created internally by Qt Ohos Extras module. Developer cannot create an instance - it is for checking operation status only. | ||
| Line 44: | Line 37: | ||
== Member Function Documentation == | == Member Function Documentation == | ||
=== <span id=" | === <span id="success"></span><code>[pure virtual] </code>bool QOhosOperationStatus::success() const === | ||
Returns true | Returns the operation status: <code>true</code> if the operation succeeded, <code>false</code> otherwise. | ||
[[Category:Qt for HarmonyOS]] | [[Category:Qt for HarmonyOS]] | ||
Revision as of 08:27, 16 September 2026
< Qt for HarmonyOS / qtohosextras doc
QOhosOperationStatus Class
class QtOhosExtras::QOhosOperationStatus
The QOhosOperationStatus class provides an interface to check an operation status. More...
| Header: | #include <QOhosOperationStatus> |
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
This class was introduced in Qt 5.12.12.
Public Functions
| virtual bool | success() const = 0 |
Detailed Description
An instance of this class is created internally by Qt Ohos Extras module. Developer cannot create an instance - it is for checking operation status only.
Member Function Documentation
[pure virtual] bool QOhosOperationStatus::success() const
Returns the operation status: true if the operation succeeded, false otherwise.