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

(19b09affee8698f80d386e3b286753974f6bf10a)

#include "qqmlcomponent.h"
#include "qqmlcomponent_p.h"
#include "qqmlcomponentattached_p.h"
#include "qqmlengine_p.h"
#include "qqmlvme_p.h"
#include "qqml.h"
#include "qqmlengine.h"
#include "qqmlincubator.h"
#include "qqmlincubator_p.h"
#include <private/qqmljavascriptexpression_p.h>
#include <private/qqmlsourcecoordinate_p.h>
#include <private/qv4functionobject_p.h>
#include <private/qv4script_p.h>
#include <private/qv4scopedvalue_p.h>
#include <private/qv4objectiterator_p.h>
#include <private/qv4qobjectwrapper_p.h>
#include <private/qv4jscall_p.h>
#include <QDir>
#include <QStack>
#include <QStringList>
#include <QThreadStorage>
#include <QtCore/qdebug.h>
#include <QtCore/qloggingcategory.h>
#include <qqmlinfo.h>
#include "moc_qqmlcomponent.cpp"
#include "moc_qqmlcomponentattached_p.cpp"
+ Include dependency graph for qqmlcomponent.cpp:

Go to the source code of this file.

Classes

class  QQmlComponentExtension
 
struct  QV4::QmlIncubatorObject
 
class  QQmlComponentIncubator
 

Namespaces

namespace  QV4
 
namespace  QV4::Heap
 

Macros

#define QmlIncubatorObjectMembers(class, Member)
 

Functions

 V4_DEFINE_EXTENSION (QQmlComponentExtension, componentExtension)
 
static void removePendingQPropertyBinding (QV4::Value *object, const QString &propertyName, QQmlObjectCreator *creator)
 
static void QQmlComponent_setQmlParent (QObject *me, QObject *parent)
 
 QV4::Heap::DECLARE_HEAP_OBJECT (QmlIncubatorObject, Object)
 
 DEFINE_OBJECT_VTABLE (QV4::QmlIncubatorObject)
 

Macro Definition Documentation

◆ QmlIncubatorObjectMembers

#define QmlIncubatorObjectMembers ( class,
Member )
Value:
Member(class, HeapValue, HeapValue, valuemapOrObject) \
Member(class, HeapValue, HeapValue, statusChanged) \
Member(class, Pointer, QmlContext *, qmlContext) \
Member(class, NoMark, QQmlComponentIncubator *, incubator) \
Member(class, NoMark, QV4QPointer<QObject>, parent)
void statusChanged(QQmlComponent::Status status)
[1]
Definition qlogging.cpp:11
QQmlContext * qmlContext(const QObject *obj)
Definition qqml.cpp:75

Definition at line 1551 of file qqmlcomponent.cpp.

Function Documentation

◆ DEFINE_OBJECT_VTABLE()

DEFINE_OBJECT_VTABLE ( QV4::QmlIncubatorObject )

◆ QQmlComponent_setQmlParent()

static void QQmlComponent_setQmlParent ( QObject * me,
QObject * parent )
static

Definition at line 1612 of file qqmlcomponent.cpp.

References QQmlPrivate::IncompatibleParent, QQmlPrivate::Parented, QQmlMetaType::parentFunctions(), qmlWarning(), and QObject::setParent().

Referenced by QQmlComponentPrivate::createWithProperties(), and QV4::QmlIncubatorObject::setInitialState().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removePendingQPropertyBinding()

static void removePendingQPropertyBinding ( QV4::Value * object,
const QString & propertyName,
QQmlObjectCreator * creator )
static

Definition at line 342 of file qqmlcomponent.cpp.

References QV4::Value::as(), creator, QQmlData::get(), QMetaObject::indexOfProperty(), QMetaProperty::isBindable(), o, QMetaObject::property(), Q_ASSERT, QString::toUtf8(), and wrapper().

Referenced by QQmlComponentPrivate::setInitialProperties(), and QQmlComponentPrivate::setInitialProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ V4_DEFINE_EXTENSION()

V4_DEFINE_EXTENSION ( QQmlComponentExtension ,
componentExtension  )