4#ifndef QOHOSSHAREKIT_P_H
5#define QOHOSSHAREKIT_P_H
18#include <QtCore/qbytearray.h>
19#include <QtCore/qfileinfo.h>
20#include <QtCore/qlist.h>
21#include <QtCore/qmimetype.h>
22#include <QtCore/qpoint.h>
23#include <QtCore/qrect.h>
24#include <QtCore/qstring.h>
25#include <QtCore/qurl.h>
26#include <QtCore/qvariant.h>
27#include <QtGui/qwindow.h>
28#include <QtOhosAppKit/private/qtohosappkitglobal_p.h>
47Q_ENUM_NS(ShareAbilityType)
130 QWindow *optMainWindow,
const QList<std::shared_ptr<ShareKit::SharedRecord>> &records,
131 std::shared_ptr<ShareKit::ShareControllerOptions> controllerOptions,
132 std::function<
void()> panelClosedCallback,
133 std::function<
void(std::shared_ptr<ShareKit::ShareOperationResult>)> shareCompletedCallback);
Combined button and popup list for selecting options.
QtOhos::enums::kit::ShareKit::systemShare::ShareAbilityType ShareAbilityType
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.