Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohossharekit.cpp File Reference

(b2b4258a42567f4a4f2bec950c3e01623a97a5df)

#include "qohossharekit_p.h"
#include "qohossharekitbackend_p.h"
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/private/qohoslogger_p.h>
#include <QtCore/qmimedatabase.h>
#include <QtGui/qwindow.h>
Include dependency graph for qohossharekit.cpp:

Go to the source code of this file.

Namespaces

namespace  QtOhosAppKit
namespace  QtOhosAppKit::ShareKit
 \inmodule QtOhosAppKit
namespace  QtOhosAppKit::Private

Functions

std::shared_ptr< SharedRecordQtOhosAppKit::ShareKit::createContentRecord (const QMimeType &mimeType, const QString &content)
 Creates a shared "content" record with a given mimeType and content.
std::shared_ptr< SharedRecordQtOhosAppKit::ShareKit::createFileRecord (const QFileInfo &fileInfo)
 Creates a shared "file" record with a given fileInfo.
std::shared_ptr< SharedRecordQtOhosAppKit::ShareKit::createUrlRecord (const QUrl &url)
 Creates a shared record with a given url.
std::shared_ptr< ShareControllerOptionsQtOhosAppKit::ShareKit::createControllerOptions ()
 Creates a controller options instnace.
std::shared_ptr< voidQtOhosAppKit::Private::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)