Qt for HarmonyOS/qtohosextras doc/QOhosBundleInfo Class: Difference between revisions
Created page with "<!-- Source: qtohosextras-qohosbundleinfo.html --> <span id="qohosbundleinfo-class"></span> = QOhosBundleInfo Class = <span class="small-subtitle">(QtOhosExtras::QOhosBundleInfo)<br /> </span> The QOhosBundleInfo class contains API to provide native application bundle info. More... <div class="table"> {| class="wikitable alignedsummary"..." |
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]] | ||
= QOhosBundleInfo Class = | = QOhosBundleInfo Class = | ||
The QOhosBundleInfo class contains API to provide native application bundle info. More... | |||
The | |||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
! Header: | |||
| | | #include <QOhosBundleInfo> | ||
|- | |- | ||
! qmake: | |||
| QT += ohosextras | |||
|- | |- | ||
! Since: | |||
| Qt 5.12.12 | |||
|} | |} | ||
* [[List_of_All_Members_for_QOhosBundleInfo|List of all members, including inherited members]] | |||
== Public Functions == | == Public Functions == | ||
{| class="wikitable" style="width:100%" | |||
|- | |- | ||
| virtual || '''[[#dtor.QOhosBundleInfo|~QOhosBundleInfo]]'''() | |||
| | |||
|- | |- | ||
| virtual int || '''[[#versionCode|versionCode]]'''() const = 0 | |||
| | |||
|} | |} | ||
== Protected Functions == | == Protected Functions == | ||
{| class="wikitable" style="width:100%" | |||
|- | |- | ||
| | | || '''[[#QOhosBundleInfo|QOhosBundleInfo]]'''() | ||
|} | |} | ||
== Detailed Description == | == Detailed Description == | ||
The | The QOhosBundleInfo class contains API to provide native application bundle info. | ||
To learn more about bundle info in HarmonyOS, see [https://developer.huawei.com/consumer/en/doc/harmonyos-references/js-apis-bundlemanager-bundleinfo Bundle Info]. | To learn more about bundle info in HarmonyOS, see [https://developer.huawei.com/consumer/en/doc/harmonyos-references/js-apis-bundlemanager-bundleinfo Bundle Info]. | ||
== Member Function Documentation == | == Member Function Documentation == | ||
=== <span id="QOhosBundleInfo"></span>[protected] QOhosBundleInfo::QOhosBundleInfo() === | |||
=== <span id="QOhosBundleInfo"></span | |||
Default constructs an instance of QOhosBundleInfo. | Default constructs an instance of QOhosBundleInfo. | ||
=== <span id="dtor.QOhosBundleInfo"></span>[virtual] QOhosBundleInfo::~QOhosBundleInfo() === | |||
=== <span id="dtor.QOhosBundleInfo"></span | |||
Destroys the instance of QOhosBundleInfo. The destructor is virtual. | Destroys the instance of QOhosBundleInfo. The destructor is virtual. | ||
=== <span id="versionCode"></span>[pure virtual] int QOhosBundleInfo::versionCode() const === | |||
=== <span id="versionCode"></span | |||
(No further description provided in source) | |||
[[Category:Qt for HarmonyOS]] | |||
Latest revision as of 03:26, 29 January 2026
< Qt for HarmonyOS / qtohosextras doc
QOhosBundleInfo Class
The QOhosBundleInfo class contains API to provide native application bundle info. More...
| Header: | #include <QOhosBundleInfo> |
|---|---|
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
Public Functions
| virtual | ~QOhosBundleInfo() |
| virtual int | versionCode() const = 0 |
Protected Functions
| QOhosBundleInfo() |
Detailed Description
The QOhosBundleInfo class contains API to provide native application bundle info.
To learn more about bundle info in HarmonyOS, see Bundle Info.
Member Function Documentation
[protected] QOhosBundleInfo::QOhosBundleInfo()
Default constructs an instance of QOhosBundleInfo.
[virtual] QOhosBundleInfo::~QOhosBundleInfo()
Destroys the instance of QOhosBundleInfo. The destructor is virtual.
[pure virtual] int QOhosBundleInfo::versionCode() const
(No further description provided in source)