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
QQmlPropertyCapture Class Reference

#include <qqmljavascriptexpression_p.h>

+ Collaboration diagram for QQmlPropertyCapture:

Public Member Functions

 QQmlPropertyCapture (QQmlEngine *engine, QQmlJavaScriptExpression *e, QQmlJavaScriptExpression::DeleteWatcher *w)
 
 ~QQmlPropertyCapture ()
 
void captureProperty (QQmlNotifier *)
 
void captureProperty (QObject *, int, int, bool doNotify=true)
 
void captureProperty (QObject *, const QQmlPropertyCache *, const QQmlPropertyData *, bool doNotify=true)
 
void captureTranslation ()
 

Public Attributes

QQmlEngineengine
 
QQmlJavaScriptExpressionexpression
 
QQmlJavaScriptExpression::DeleteWatcherwatcher
 
QForwardFieldList< QQmlJavaScriptExpressionGuard, &QQmlJavaScriptExpressionGuard::nextguards
 
QStringListerrorString
 

Detailed Description

Definition at line 188 of file qqmljavascriptexpression_p.h.

Constructor & Destructor Documentation

◆ QQmlPropertyCapture()

QQmlPropertyCapture::QQmlPropertyCapture ( QQmlEngine * engine,
QQmlJavaScriptExpression * e,
QQmlJavaScriptExpression::DeleteWatcher * w )
inline

Definition at line 191 of file qqmljavascriptexpression_p.h.

◆ ~QQmlPropertyCapture()

QQmlPropertyCapture::~QQmlPropertyCapture ( )
inline

Definition at line 194 of file qqmljavascriptexpression_p.h.

References Q_ASSERT.

Member Function Documentation

◆ captureProperty() [1/3]

void QQmlPropertyCapture::captureProperty ( QObject * o,
const QQmlPropertyCache * propertyCache,
const QQmlPropertyData * propertyData,
bool doNotify = true )

Definition at line 334 of file qqmljavascriptexpression.cpp.

References QQmlPropertyData::coreIndex(), doNotify(), expression, QQmlPropertyData::isBindable(), QQmlPropertyCache::metaObject(), QQmlPropertyData::notifyIndex(), o, Q_ASSERT, QQmlJavaScriptExpression::DeleteWatcher::wasDeleted(), and watcher.

+ Here is the call graph for this function:

◆ captureProperty() [2/3]

void QQmlPropertyCapture::captureProperty ( QObject * o,
int c,
int n,
bool doNotify = true )

n is in the signal index range (see QObjectPrivate::signalIndex()).

Definition at line 304 of file qqmljavascriptexpression.cpp.

References doNotify(), expression, QQmlData::get(), o, Q_ASSERT, QQmlJavaScriptExpression::DeleteWatcher::wasDeleted(), and watcher.

+ Here is the call graph for this function:

◆ captureProperty() [3/3]

void QQmlPropertyCapture::captureProperty ( QQmlNotifier * n)

◆ captureTranslation()

void QQmlPropertyCapture::captureTranslation ( )

Definition at line 373 of file qqmljavascriptexpression.cpp.

References QQmlJavaScriptExpression::allocatePropertyChangeTrigger(), engine, expression, QQmlEnginePrivate::get(), QQmlJavaScriptExpression::needsPropertyChangeTrigger(), and QPropertyObserver::setSource().

+ Here is the call graph for this function:

Member Data Documentation

◆ engine

QQmlEngine* QQmlPropertyCapture::engine

Definition at line 204 of file qqmljavascriptexpression_p.h.

Referenced by captureProperty(), and captureTranslation().

◆ errorString

QStringList* QQmlPropertyCapture::errorString

◆ expression

◆ guards

◆ watcher

QQmlJavaScriptExpression::DeleteWatcher* QQmlPropertyCapture::watcher

Definition at line 206 of file qqmljavascriptexpression_p.h.

Referenced by captureProperty(), captureProperty(), and captureProperty().


The documentation for this class was generated from the following files: