4#ifndef QOHOSSHAREKITBACKEND_P_H
5#define QOHOSSHAREKITBACKEND_P_H
19#include <QtCore/private/qohoscommon_p.h>
20#include <QtCore/qbytearray.h>
21#include <QtCore/qmap.h>
22#include <QtCore/qpoint.h>
23#include <QtCore/qsize.h>
24#include <QtCore/qvariant.h>
25#include <QtGui/qwindow.h>
80 QWindow *optInstanceMainWindow,
const std::vector<SharedRecord> &recordsToShare,
82 QOhosConsumer<ShareOperationResult> shareCompletedCallback);
Combined button and popup list for selecting options.
QtOhos::enums::kit::ShareKit::systemShare::ShareAbilityType ShareAbilityType
std::shared_ptr< void > shareData(QWindow *optInstanceMainWindow, const std::vector< SharedRecord > &recordsToShare, ControllerOptions controllerOptions, std::function< void()> panelClosedCallback, QOhosConsumer< ShareOperationResult > shareCompletedCallback)
constexpr const char * mimeTextUriList
QtOhos::enums::kit::ShareKit::systemShare::SharePreviewMode SharePreviewMode
QtOhos::enums::kit::ShareKit::systemShare::SelectionMode SelectionMode
std::shared_ptr< void > shareData(QWindow *optMainWindow, const QList< std::shared_ptr< SharedRecord > > &records, std::shared_ptr< ShareControllerOptions > controllerOptions, std::function< void()> panelClosedCallback, std::function< void(std::shared_ptr< ShareKit::ShareOperationResult >)> shareCompletedCallback)
std::shared_ptr< SharedRecord > createContentRecord(const QMimeType &mimeType, const QString &content)
Creates a shared "content" record with a given mimeType and content.
std::shared_ptr< SharedRecord > createUrlRecord(const QUrl &url)
Creates a shared record with a given url.
std::shared_ptr< SharedRecord > createFileRecord(const QFileInfo &fileInfo)
Creates a shared "file" record with a given fileInfo.
std::shared_ptr< ShareControllerOptions > createControllerOptions()
Creates a controller options instnace.
std::optional< std::vector< ShareAbilityType > > excludedAbilities
std::optional< ShareControllerAnchor > anchor
std::optional< SharePreviewMode > previewMode
std::optional< SelectionMode > selectionMode
std::optional< QSize > size
std::string targetAbilityName
std::optional< std::string > thumbnailFilePath
std::optional< std::string > content
std::optional< std::string > description
std::optional< std::string > label
std::optional< QByteArray > thumbnail
std::optional< std::string > filePath
std::optional< std::string > title
std::optional< QVariantMap > extraData