Qt for HarmonyOS/qtohosextras doc/QOhosBundleInfo Class: Difference between revisions
No edit summary |
Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
= QOhosBundleInfo Class = | |||
class [[Qt_for_HarmonyOS/qtohosextras_doc/Qt_Ohos_Extras_C++_Classes|QtOhosExtras]]::QOhosBundleInfo | |||
The QOhosBundleInfo class contains API to provide native application bundle info. More... | The QOhosBundleInfo class contains API to provide native application bundle info. [[#details|More...]] | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| Header: | |||
| #include <QOhosBundleInfo> | | #include <QOhosBundleInfo> | ||
|- | |- | ||
| qmake: | |||
| QT += ohosextras | | QT += ohosextras | ||
|- | |- | ||
| Since: | |||
| Qt 5.12.12 | | Qt 5.12.12 | ||
|} | |} | ||
* [[List_of_All_Members_for_QOhosBundleInfo|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_QOhosBundleInfo|List of all members, including inherited members]] | |||
== Public Functions == | == Public Functions == | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- | ||
| | | virtual int | ||
| '''[[Qt_for_HarmonyOS/qtohosextras_doc/QOhosBundleInfo_Class#versionCode|versionCode]]'''() const = 0 | |||
|} | |} | ||
== Detailed Description == | == Detailed Description == | ||
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]. | ||
| Line 43: | Line 35: | ||
== Member Function Documentation == | == Member Function Documentation == | ||
=== <span id=" | === <span id="versionCode"></span><code>[pure virtual] </code>int QOhosBundleInfo::versionCode() const === | ||
Returns application's version code. See [https://developer.huawei.com/consumer/en/doc/harmonyos-references/js-apis-bundlemanager-bundleinfo BundleInfo's versionCode] | |||
[[Category:Qt for HarmonyOS]] | [[Category:Qt for HarmonyOS]] | ||
Latest revision as of 06:14, 17 September 2026
QOhosBundleInfo Class
class QtOhosExtras::QOhosBundleInfo
The QOhosBundleInfo class contains API to provide native application bundle info. More...
| Header: | #include <QOhosBundleInfo> |
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
This class was introduced in Qt 5.12.12.
Public Functions
| virtual int | versionCode() const = 0 |
Detailed Description
To learn more about bundle info in HarmonyOS, see Bundle Info.
Member Function Documentation
[pure virtual] int QOhosBundleInfo::versionCode() const
Returns application's version code. See BundleInfo's versionCode