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

(7a9a778604a03473b6c4ef8a481ba3cc06d48265)

#include "qqmlcontext_p.h"
#include "qqmlcomponentattached_p.h"
#include "qqmlcomponent_p.h"
#include "qqmlexpression_p.h"
#include "qqmlengine_p.h"
#include "qqmlengine.h"
#include "qqmlinfo.h"
#include "qqmlabstracturlinterceptor.h"
#include <qjsengine.h>
#include <QtCore/qvarlengtharray.h>
#include <private/qmetaobject_p.h>
#include <QtCore/qdebug.h>
#include "moc_qqmlcontext.cpp"
+ Include dependency graph for qqmlcontext.cpp:

Go to the source code of this file.

Functions

static bool readObjectProperty (const QQmlRefPointer< QQmlContextData > &data, QObject *object, const QString &name, QVariant *target)
 

Function Documentation

◆ readObjectProperty()

static bool readObjectProperty ( const QQmlRefPointer< QQmlContextData > & data,
QObject * object,
const QString & name,
QVariant * target )
static

Definition at line 308 of file qqmlcontext.cpp.

References QQmlPropertyData::metaObject(), QQmlPropertyCache::property(), QMetaObject::property(), property, and QMetaProperty::read().

Referenced by QQmlContext::contextProperty(), and QQmlContext::objectForName().

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