Jump to content

Qt Ohos Extras Cpp Classes: Difference between revisions

From Qt Wiki
Line 132: Line 132:


<span id="details"></span>
<span id="details"></span>
== Detailed Description ==
== Detailed Description ==



Revision as of 05:45, 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:

 #include

To link against the Qt Ohos Extras module, add this line to your project file:

 QT += ohosextras