Qt Ohos Extras Cpp Classes: Difference between revisions
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 16: | Line 16: | ||
{| class="wikitable annotated" | {| class="wikitable annotated" | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_FileShare_Namespace|QtOhosExtras::FileShare]] | ||
| class="tblDescr"| To expose file permission API | | class="tblDescr"| To expose file permission API | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosPasteboard_Namespace|QtOhosExtras::QOhosPasteboard]] | ||
| class="tblDescr"| To manage native pasteboard | | class="tblDescr"| To manage native pasteboard | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QtOhosExtras_Namespace|QtOhosExtras]] | ||
| class="tblDescr"| Miscellaneous functions to aid Ohos development | | class="tblDescr"| Miscellaneous functions to aid Ohos development | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_ShareKit_Namespace|QtOhosExtras::ShareKit]] | ||
| class="tblDescr"| To expose Share Kit API | | class="tblDescr"| To expose Share Kit API | ||
| Line 42: | Line 42: | ||
<span id="classes"></span> | <span id="classes"></span> | ||
== Classes == | == Classes == | ||
| Line 48: | Line 49: | ||
{| class="wikitable annotated" | {| class="wikitable annotated" | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_ActionResult_Class|QtOhosExtras::FileShare::ActionResult]] | ||
| class="tblDescr"| Encapsulates the result of all file requested access permission actions | | class="tblDescr"| Encapsulates the result of all file requested access permission actions | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_CheckResult_Class|QtOhosExtras::FileShare::CheckResult]] | ||
| class="tblDescr"| Encapsulates the result of all requested file access permission checks | | class="tblDescr"| Encapsulates the result of all requested file access permission checks | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_PathPolicy_Class|QtOhosExtras::FileShare::PathPolicy]] | ||
| class="tblDescr"| Struct encapsulates information required to request file access permissions for a specified path | | class="tblDescr"| Struct encapsulates information required to request file access permissions for a specified path | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_PathPolicyCheckResult_Class|QtOhosExtras::FileShare::PathPolicyCheckResult]] | ||
| class="tblDescr"| Struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied | | class="tblDescr"| Struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_PathPolicyErrorInfo_Class|QtOhosExtras::FileShare::PathPolicyErrorInfo]] | ||
| class="tblDescr"| Struct contains the result of a file access permission request for a specified path | | class="tblDescr"| Struct contains the result of a file access permission request for a specified path | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosAbilityContext_Class|QtOhosExtras::QOhosAbilityContext]] | ||
| class="tblDescr"| To manage native UI Ability context. See UIAbilityContext | | class="tblDescr"| To manage native UI Ability context. See UIAbilityContext | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosAppContext_Class|QtOhosExtras::QOhosAppContext]] | ||
| class="tblDescr"| Contains API to manage native application context | | class="tblDescr"| Contains API to manage native application context | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosBundleInfo_Class|QtOhosExtras::QOhosBundleInfo]] | ||
| class="tblDescr"| Contains API to provide native application bundle info | | class="tblDescr"| Contains API to provide native application bundle info | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosOnContinueContext_Class|QtOhosExtras::QOhosOnContinueContext]] | ||
| class="tblDescr"| Manages onContinue context. It provides system data, like source application version code and set the onContinue result that is requested by the system. See UIAbility onContinue | | class="tblDescr"| Manages onContinue context. It provides system data, like source application version code and set the onContinue result that is requested by the system. See UIAbility onContinue | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosOperationStatus_Class|QtOhosExtras::QOhosOperationStatus]] | ||
| class="tblDescr"| Interface to get an opertaion status | | class="tblDescr"| Interface to get an opertaion status | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosShareControllerOptions_Class|QtOhosExtras::ShareKit::QOhosShareControllerOptions]] | ||
| class="tblDescr"| To configure items, such as the preview mode of the shared content, selection mode, and other information, and pop-up window anchor. It determines the display style of the sharing panel. See ShareControllerOptions | | class="tblDescr"| To configure items, such as the preview mode of the shared content, selection mode, and other information, and pop-up window anchor. It determines the display style of the sharing panel. See ShareControllerOptions | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosSharedRecord_Class|QtOhosExtras::ShareKit::QOhosSharedRecord]] | ||
| class="tblDescr"| Represents a record to be shared with other application. A record can be created using | | class="tblDescr"| Represents a record to be shared with other application. A record can be created using | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosStartOptions_Class|QtOhosExtras::QOhosStartOptions]] | ||
| class="tblDescr"| To provide new options for new started ability or process | | class="tblDescr"| To provide new options for new started ability or process | ||
|- class="even topAlign" | |- class="even topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosWant_Class|QtOhosExtras::QOhosWant]] | ||
| class="tblDescr"| Wraps Ohos Want class | | class="tblDescr"| Wraps Ohos Want class | ||
|- class="odd topAlign" | |- class="odd topAlign" | ||
| class="tblName"| [[ | | class="tblName"| [[qtohosextras_QOhosWantInfo_Class|QtOhosExtras::QOhosWantInfo]] | ||
| class="tblDescr"| To represent Ohos want type | | class="tblDescr"| To represent Ohos want type | ||
Latest revision as of 06:19, 28 January 2026
Qt Ohos Extras C++ Classes
The Qt Ohos Extras module contains additional functionality for development on Ohos. More...
Namespaces
| QtOhosExtras::FileShare | To expose file permission API |
| QtOhosExtras::QOhosPasteboard | To manage native pasteboard |
| QtOhosExtras | Miscellaneous functions to aid Ohos development |
| QtOhosExtras::ShareKit | To expose Share Kit API |
Classes
| QtOhosExtras::FileShare::ActionResult | Encapsulates the result of all file requested access permission actions |
| QtOhosExtras::FileShare::CheckResult | Encapsulates the result of all requested file access permission checks |
| QtOhosExtras::FileShare::PathPolicy | Struct encapsulates information required to request file access permissions for a specified path |
| QtOhosExtras::FileShare::PathPolicyCheckResult | Struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied |
| QtOhosExtras::FileShare::PathPolicyErrorInfo | Struct contains the result of a file access permission request for a specified path |
| QtOhosExtras::QOhosAbilityContext | To manage native UI Ability context. See UIAbilityContext |
| QtOhosExtras::QOhosAppContext | Contains API to manage native application context |
| QtOhosExtras::QOhosBundleInfo | Contains API to provide native application bundle info |
| QtOhosExtras::QOhosOnContinueContext | Manages onContinue context. It provides system data, like source application version code and set the onContinue result that is requested by the system. See UIAbility onContinue |
| QtOhosExtras::QOhosOperationStatus | Interface to get an opertaion status |
| QtOhosExtras::ShareKit::QOhosShareControllerOptions | To configure items, such as the preview mode of the shared content, selection mode, and other information, and pop-up window anchor. It determines the display style of the sharing panel. See ShareControllerOptions |
| QtOhosExtras::ShareKit::QOhosSharedRecord | Represents a record to be shared with other application. A record can be created using |
| QtOhosExtras::QOhosStartOptions | To provide new options for new started ability or process |
| QtOhosExtras::QOhosWant | Wraps Ohos Want class |
| QtOhosExtras::QOhosWantInfo | To represent Ohos want type |
Detailed Description
To include the definitions of the module's classes, use the following directive:
#includeTo link against the Qt Ohos Extras module, add this line to your project file:
QT += ohosextras