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)
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)

Detailed Description

Definition at line 49 of file qqmlpreviewbindingpatchcontext_p.h.

Constructor & Destructor Documentation

◆ BindingPatchContext() [1/2]

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

Definition at line 52 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/2]

QQmlPreview::BindingPatchContext::BindingPatchContext ( QObject * object,
const QQmlRefPointer< QV4::ExecutableCompilationUnit > & unit,
int objectIndex )
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:

Member Function Documentation

◆ attachedContext()

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

Definition at line 546 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 500 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 527 of file qqmlpreviewbindingpatchcontext.cpp.

◆ refreshObjects()

void QQmlPreview::BindingPatchContext::refreshObjects ( )

Definition at line 386 of file qqmlpreviewbindingpatchcontext.cpp.

◆ reset()

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

Definition at line 574 of file qqmlpreviewbindingpatchcontext.cpp.

◆ restoreExternalState()

void QQmlPreview::BindingPatchContext::restoreExternalState ( )

Definition at line 413 of file qqmlpreviewbindingpatchcontext.cpp.

◆ stashExternalState()

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

Definition at line 219 of file qqmlpreviewbindingpatchcontext.cpp.


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