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
qohoswantutils_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QOHOSWANTUTILS_H
5#define QOHOSWANTUTILS_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtHarmonyExtras/private/qohoswant_p.h>
19#include <QtHarmonyExtras/private/qohoswantinfo_p.h>
20
21#include <QtCore/qjsonobject.h>
22#include <QtCore/qsharedpointer.h>
23
24#include <memory>
25
26QT_BEGIN_NAMESPACE
27
28namespace QtHarmonyExtras::Private {
29
30QJsonObject convertWantToJsonObject(const Want &want);
31
32Want convertWantFromJsonObject(const QJsonObject &jsonWant);
33
35 QSharedPointer<detail::WantInfoPriv> wantInfo);
36
38 std::shared_ptr<WantInfo> wantInfo);
39
40}
41
42QT_END_NAMESPACE
43
44#endif // QOHOSWANTUTILS_H
QJsonObject convertWantToJsonObject(const Want &want)
QSharedPointer< detail::WantInfoPriv > convertToQpaWantInfo(std::shared_ptr< WantInfo > wantInfo)
std::shared_ptr< WantInfo > convertToOhosExtrasWantInfo(QSharedPointer< detail::WantInfoPriv > wantInfo)
Want convertWantFromJsonObject(const QJsonObject &jsonWant)