Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlirloader_p.h
Go to the documentation of this file.
1
// Copyright (C) 2019 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 QQMLIRLOADER_P_H
5
#define QQMLIRLOADER_P_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 <private/qtqmlglobal_p.h>
19
#include <private/qv4compileddata_p.h>
20
#include <private/qqmljsmemorypool_p.h>
21
22
QT_BEGIN_NAMESPACE
23
24
namespace
QmlIR
{
25
struct
Document;
26
struct
Object
;
27
}
28
29
struct
Q_QML_PRIVATE_EXPORT
QQmlIRLoader
{
30
QQmlIRLoader
(
const
QV4::CompiledData::Unit
*unit,
QmlIR::Document
*
output
);
31
32
void
load
();
33
34
private
:
35
QmlIR::Object
*loadObject(
const
QV4::CompiledData::Object
*serializedObject);
36
37
template
<
typename
_Tp> _Tp *New() {
return
pool
->New<_Tp>(); }
38
39
const
QV4::CompiledData::Unit
*unit;
40
QmlIR::Document
*
output
;
41
QQmlJS::MemoryPool
*
pool
;
42
};
43
44
QT_END_NAMESPACE
45
46
#endif
// QQMLIRLOADER_P_H
Object
Definition
main.cpp:8
QQmlJS::MemoryPool
Definition
qqmljsmemorypool_p.h:31
load
p1 load("image.bmp")
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
QmlIR
Definition
qv4compileddata_p.h:57
output
QT_BEGIN_NAMESPACE typedef uchar * output
Definition
qvideoframeconversionhelper_p.h:24
pool
QThreadPool pool
Definition
src_concurrent_qtconcurrentrun.cpp:12
QQmlIRLoader
Definition
qqmlirloader_p.h:29
QV4::CompiledData::Object
Definition
qv4compileddata_p.h:923
QV4::CompiledData::Unit
Definition
qv4compileddata_p.h:1176
QmlIR::Document
Definition
qqmlirbuilder_p.h:462
QmlIR::Object
Definition
qqmlirbuilder_p.h:311
qtdeclarative
src
qml
qml
qqmlirloader_p.h
Generated by
1.9.7