Jump to content

Qt for HarmonyOS/qtohosextras doc/QOhosBundleInfo Class: Difference between revisions

From Qt Wiki
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
Line 13: Line 13:
|-
|-
| class="memItemLeft rightAlign topAlign"| Header:
| class="memItemLeft rightAlign topAlign"| Header:
| class="memItemRight bottomAlign"| <span class="preprocessor">#include </span>
| class="memItemRight bottomAlign"| <span class="preprocessor">#include <QOhosBundleInfo></span>
|-
|-
| class="memItemLeft rightAlign topAlign"| qmake:
| class="memItemLeft rightAlign topAlign"| qmake:
Line 21: Line 21:
| class="memItemRight bottomAlign"| Qt 5.12.12
| class="memItemRight bottomAlign"| Qt 5.12.12
|}
|}
</div>
</div>
* [[Qt_for_HarmonyOS/qtohosextras_doc/List_of_All_Members_for_QOhosBundleInfo|List of all members, including inherited members]]
* [[Qt_for_HarmonyOS/qtohosextras_doc/List_of_All_Members_for_QOhosBundleInfo|List of all members, including inherited members]]
<span id="public-functions"></span>


<span id="public-functions"></span>
<span id="public-functions"></span>
Line 42: Line 38:
|}
|}


 
</div><span id="protected-functions"></span>
</div>
<span id="protected-functions"></span>


<span id="protected-functions"></span>
<span id="protected-functions"></span>
Line 69: Line 63:


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].
</div>
<div class="func">


<span id="member-function-documentation"></span>
<span id="member-function-documentation"></span>
== Member Function Documentation ==
== Member Function Documentation ==


<span id="QOhosBundleInfo"></span>
=== <span id="QOhosBundleInfo"></span><code>[protected] </code>QOhosBundleInfo::<span class="name">QOhosBundleInfo</span>() ===


Default constructs an instance of QOhosBundleInfo.
<code>QOhosBundleInfo::QOhosBundleInfo()                          [protected] </code><span id="QOhosBundleInfo"></span>Default constructs an instance of QOhosBundleInfo.
 


<span id="dtor.QOhosBundleInfo"></span>
<code>QOhosBundleInfo::~QOhosBundleInfo()                          [virtual] </code><span id="dtor.QOhosBundleInfo"></span>Destroys the instance of QOhosBundleInfo. The destructor is virtual.
=== <span id="dtor.QOhosBundleInfo"></span><code>[virtual] </code>QOhosBundleInfo::<span class="name">~QOhosBundleInfo</span>() ===


Destroys the instance of QOhosBundleInfo. The destructor is virtual.


<span id="versionCode"></span>
<code>int QOhosBundleInfo::versionCode() const                      [pure virtual] </code><span id="versionCode"></span>
=== <span id="versionCode"></span><code>[pure virtual] </code><span class="type">int</span> QOhosBundleInfo::<span class="name">versionCode</span>() const ===




</div>
</div>

Revision as of 02:39, 29 January 2026

QOhosBundleInfo 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

Public Functions

virtual ~QOhosBundleInfo()
virtual int versionCode() const = 0

Protected Functions

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

QOhosBundleInfo::QOhosBundleInfo()                           [protected]
Default constructs an instance of QOhosBundleInfo.


QOhosBundleInfo::~QOhosBundleInfo()                          [virtual]
Destroys the instance of QOhosBundleInfo. The destructor is virtual.


int QOhosBundleInfo::versionCode() const                       [pure virtual]