![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
| struct | SharedRecord |
| struct | ShareControllerAnchor |
| struct | ControllerOptions |
Enumerations | |
| enum class | SelectionMode { SINGLE , BATCH } |
| enum class | SharePreviewMode { DEFAULT , DETAIL } |
| enum class | ShareAbilityType { COPY_TO_PASTEBOARD , SAVE_TO_MEDIA_ASSET , SAVE_AS_FILE , PRINT , SAVE_TO_SUPERHUB } |
Functions | |
| std::shared_ptr< void > | shareData (QWindow *optInstanceMainWindow, const std::vector< SharedRecord > &recordsToShare, ControllerOptions controllerOptions, std::function< void()> panelClosedCallback) |
Variables | |
| constexpr const char * | mimeTextUriList = "text/uri-list" |
|
strong |
| Enumerator | |
|---|---|
| SINGLE | |
| BATCH | |
Definition at line 46 of file qohossharekit.h.
|
strong |
| Enumerator | |
|---|---|
| COPY_TO_PASTEBOARD | |
| SAVE_TO_MEDIA_ASSET | |
| SAVE_AS_FILE | |
| SAVE_TO_SUPERHUB | |
Definition at line 58 of file qohossharekit.h.
|
strong |
| Enumerator | |
|---|---|
| DEFAULT | |
| DETAIL | |
Definition at line 52 of file qohossharekit.h.
| std::shared_ptr< void > QOhosShareKit::shareData | ( | QWindow * | optInstanceMainWindow, |
| const std::vector< SharedRecord > & | recordsToShare, | ||
| ControllerOptions | controllerOptions, | ||
| std::function< void()> | panelClosedCallback ) |
Definition at line 224 of file qohossharekit.cpp.
References QtOhos::JsState::defaultQAbilityPeer(), makeEmptyQOhosOptional(), and QtOhos::QUiAbilityPeer::tryCastFromQAbilityPeerOrNull().
|
constexpr |
Definition at line 23 of file qohossharekit.h.