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
qohosabilitycontext.cpp File Reference

(cfdf87ab81c9b10672dd987c3b92ba77aa2d6500)

#include "qohosabilitycontext_p.h"
#include <QtHarmonyExtras/private/qohosharmonyextrasenums_p.h>
#include <QtHarmonyExtras/private/qohosoperationstatus_p.h>
#include <QtHarmonyExtras/private/qohossharekit_p.h>
#include <QtHarmonyExtras/private/qohosstartoptions_p.h>
#include <QtHarmonyExtras/private/qohoswantinfo_p.h>
#include <QtHarmonyExtras/private/qohoswantutils_p.h>
#include <QtGui/qimage.h>
#include <QtGui/qwindow.h>
#include <QtGui/private/qohosimageconversions_p.h>
#include <QtCore/qeventloop.h>
#include <QtCore/qglobalstatic.h>
#include <QtCore/qhash.h>
#include <QtCore/qmap.h>
#include <QtCore/qrandom.h>
#include <QtCore/qsharedpointer.h>
#include <QtCore/private/qcore_ohos_p.h>
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/private/qohosjsonconversions_p.h>
#include <QtCore/private/qohoslogger_p.h>
#include <array>
#include <cstdint>
#include <cstring>
#include <functional>
#include <map>
#include <vector>
Include dependency graph for qohosabilitycontext.cpp:

Go to the source code of this file.

Namespaces

namespace  QtHarmonyExtras

Functions

std::shared_ptr< OperationStatus > QtHarmonyExtras::startAbility (const Want &want, std::shared_ptr< StartOptions > options)
 Starts an Ability for a given want and options; pass a null options to start without any start options.
std::shared_ptr< OperationStatus > QtHarmonyExtras::startAbilityByType (const QString &appType, const QJsonObject &wantParameters)
 Starts an Ability for a given appType and wantParameters.
void QtHarmonyExtras::startNewAbilityInstance (QWidget *instanceWidget)
 Starts another instance of the UIAbility used by the Qt app with specified widget inside.
void QtHarmonyExtras::startAppProcess (const QString &processId, const Want &requestWant, std::shared_ptr< StartOptions > options)
 Starts application process for a given processId, requestWant and options; pass a null options to start without any start options.
void QtHarmonyExtras::setAbilityInstanceDestroyEnabled (QWindow *instanceWindow, bool destroyEnabled)
 Sets whether the Ability related with instanceWindow can be automatically destroyed by the system when the user clicks on the window's "close" button.
std::optional< QByteArray > QtHarmonyExtras::tryGetOnContinueData (const Want &want)
 Tries to get continuation / migration related data that was provided on the source device.
std::shared_ptr< OpenLinkOptions > QtHarmonyExtras::createOpenLinkOptions ()