Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qv4qmetaobjectwrapper_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 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 QV4QMETAOBJECTWRAPPER_P_H
5#define QV4QMETAOBJECTWRAPPER_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/qv4functionobject_p.h>
19#include <private/qv4value_p.h>
20
21#include <QtCore/qmetaobject.h>
22
24
26
27namespace QV4 {
28namespace Heap {
29
39
40} // namespace Heap
41
42struct Q_QML_EXPORT QMetaObjectWrapper : public FunctionObject
43{
46
48 const QMetaObject *metaObject() const { return d()->metaObject; }
49
50protected:
51 static ReturnedValue virtualCallAsConstructor(
52 const FunctionObject *, const Value *argv, int argc, const Value *);
53 static bool virtualIsEqualTo(Managed *a, Managed *b);
54
55private:
57 ReturnedValue constructInternal(const Value *argv, int argc) const;
58};
59
60} // namespace QV4
61
63
64#endif // QV4QMETAOBJECTWRAPPER_P_H
65
66
Combined button and popup list for selecting options.
quint64 ReturnedValue
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)
#define V4_NEEDS_DESTROY
#define V4_OBJECT2(DataClass, superClass)
obj metaObject() -> className()
view create()
QJSEngine engine
[0]
\inmodule QtCore
void init(const QMetaObject *metaObject)
const QMetaObject * metaObject() const