Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlcomponent.cpp File Reference
#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
 \qmltype Particle \inqmlmodule QtQuick.Particles
 
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, valuemap) \
Member(class, HeapValue, HeapValue, statusChanged) \
Member(class, Pointer, QmlContext *, qmlContext) \
Member(class, NoMark, QQmlComponentIncubator *, incubator) \
Member(class, NoMark, QV4QPointer<QObject>, parent)
void statusChanged(QDeclarativeComponent::Status status)
[1]
Definition qlogging.cpp:9
QQmlContext * qmlContext(const QObject *obj)
Definition qqml.cpp:71
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent

Definition at line 1491 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 1552 of file qqmlcomponent.cpp.

References QList< T >::at(), QQmlPrivate::IncompatibleParent, parent, QQmlPrivate::Parented, QQmlMetaType::parentFunctions(), qmlWarning(), QObject::setParent(), and QList< T >::size().

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 338 of file qqmlcomponent.cpp.

References QQmlPropertyData::coreIndex(), creator, QQmlData::get(), QMetaObject::indexOfProperty(), QMetaProperty::isBindable(), QQmlPropertyData::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   
)