Qt for HarmonyOS/qtohosextras doc/QOhosElementName Class
< Qt for HarmonyOS / qtohosextras doc
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.