Qt for HarmonyOS/qtohosextras doc/QOhosElementName Class: Difference between revisions
Create page from qdoc output (QTFOROH-2307) |
Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307) |
||
| Line 1: | Line 1: | ||
= QOhosElementName Struct = | = QOhosElementName Struct = | ||
Latest revision as of 06:16, 17 September 2026
QOhosElementName Struct
struct QtOhosExtras::QOhosElementName
The QOhosElementName struct identifies an ability component. More...
| Header: | #include <QOhosElementName> |
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
This struct was introduced in Qt 5.12.12.
Public Variables
| QString | abilityName |
| QString | bundleName |
| QString | deviceId |
| QString | moduleName |
| QString | shortName |
| QString | uri |
Detailed Description
It corresponds to the OHOS ElementName type and is delivered by the QOhosStartRequest::requestSucceeded() and QOhosStartRequest::requestFailed() signals. See ElementName.
Member Variable Documentation
QString QOhosElementName::abilityName
Name of the ability.
QString QOhosElementName::bundleName
Bundle name of the application.
QString QOhosElementName::deviceId
ID of the device that runs the ability.
QString QOhosElementName::moduleName
Name of the module (HAP) the ability belongs to.
QString QOhosElementName::shortName
Short name of the ability, a string starting with a period (.).
QString QOhosElementName::uri
Resource identifier.