Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlPreview::BindingPatchContext Class Reference

#include <qqmlpreviewbindingpatchcontext_p.h>

Collaboration diagram for QQmlPreview::BindingPatchContext:

Public Member Functions

 BindingPatchContext (QObject *object, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, int objectIndex, const QString &prefix)
 BindingPatchContext (QObject *object, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, int objectIndex)
 BindingPatchContext (BindingPatchContext &&)=default
BindingPatchContextoperator= (BindingPatchContext &&)=default
void reset (const std::vector< QQmlRefPointer< QV4::ExecutableCompilationUnit > > &unitsToUnparent, const std::vector< CompositeLevel > &internalUnits)
void stashExternalState (const std::vector< CompositeLevel > &internalUnits, QDuplicateTracker< QObject * > *seenChildren)
void refreshObjects ()
void restoreExternalState ()
BindingPatchContextchildContext (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, const QV4::CompiledData::Binding *binding, QDuplicateTracker< QObject * > *seenChildren)
BindingPatchContextchildContext (const QString &name, QObject *object, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, int objectIndex, QDuplicateTracker< QObject * > *seenChildren)
BindingPatchContextattachedContext (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, const QV4::CompiledData::Binding *binding, QDuplicateTracker< QObject * > *seenChildren)
bool applyBindingChange (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &newUnit, const QV4::CompiledData::Change &change)

Static Public Member Functions

static QString targetPropertyName (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &unit, int objectIndex, const QV4::CompiledData::Binding *binding)

Detailed Description

Definition at line 51 of file qqmlpreviewbindingpatchcontext_p.h.

Constructor & Destructor Documentation

◆ BindingPatchContext() [1/3]

QQmlPreview::BindingPatchContext::BindingPatchContext ( QObject * object,
const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
int objectIndex,
const QString & prefix )
inline

Definition at line 58 of file qqmlpreviewbindingpatchcontext_p.h.

References BindingPatchContext().

Referenced by BindingPatchContext().

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

◆ BindingPatchContext() [2/3]

QQmlPreview::BindingPatchContext::BindingPatchContext ( QObject * object,
const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
int objectIndex )
inline

Definition at line 64 of file qqmlpreviewbindingpatchcontext_p.h.

References BindingPatchContext().

Referenced by BindingPatchContext().

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

◆ BindingPatchContext() [3/3]

QQmlPreview::BindingPatchContext::BindingPatchContext ( BindingPatchContext && )
default

Member Function Documentation

◆ applyBindingChange()

bool QQmlPreview::BindingPatchContext::applyBindingChange ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & newUnit,
const QV4::CompiledData::Change & change )

Definition at line 639 of file qqmlpreviewbindingpatchcontext.cpp.

◆ attachedContext()

BindingPatchContext * QQmlPreview::BindingPatchContext::attachedContext ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
const QV4::CompiledData::Binding * binding,
QDuplicateTracker< QObject * > * seenChildren )

Definition at line 611 of file qqmlpreviewbindingpatchcontext.cpp.

◆ childContext() [1/2]

BindingPatchContext * QQmlPreview::BindingPatchContext::childContext ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
const QV4::CompiledData::Binding * binding,
QDuplicateTracker< QObject * > * seenChildren )

Definition at line 547 of file qqmlpreviewbindingpatchcontext.cpp.

◆ childContext() [2/2]

BindingPatchContext * QQmlPreview::BindingPatchContext::childContext ( const QString & name,
QObject * object,
const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
int objectIndex,
QDuplicateTracker< QObject * > * seenChildren )

Definition at line 592 of file qqmlpreviewbindingpatchcontext.cpp.

◆ operator=()

BindingPatchContext & QQmlPreview::BindingPatchContext::operator= ( BindingPatchContext && )
default

◆ refreshObjects()

void QQmlPreview::BindingPatchContext::refreshObjects ( )

Definition at line 421 of file qqmlpreviewbindingpatchcontext.cpp.

◆ reset()

void QQmlPreview::BindingPatchContext::reset ( const std::vector< QQmlRefPointer< QV4::ExecutableCompilationUnit > > & unitsToUnparent,
const std::vector< CompositeLevel > & internalUnits )

Definition at line 673 of file qqmlpreviewbindingpatchcontext.cpp.

◆ restoreExternalState()

void QQmlPreview::BindingPatchContext::restoreExternalState ( )

Definition at line 448 of file qqmlpreviewbindingpatchcontext.cpp.

◆ stashExternalState()

void QQmlPreview::BindingPatchContext::stashExternalState ( const std::vector< CompositeLevel > & internalUnits,
QDuplicateTracker< QObject * > * seenChildren )

Definition at line 258 of file qqmlpreviewbindingpatchcontext.cpp.

◆ targetPropertyName()

QString QQmlPreview::BindingPatchContext::targetPropertyName ( const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
int objectIndex,
const QV4::CompiledData::Binding * binding )
static

Definition at line 931 of file qqmlpreviewbindingpatchcontext.cpp.


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