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

#include <qqmlpropertybinding_p.h>

+ Inheritance diagram for QQmlPropertyBindingJSForBoundFunction:
+ Collaboration diagram for QQmlPropertyBindingJSForBoundFunction:

Public Member Functions

QV4::ReturnedValue evaluate (bool *isUndefined)
 
- Public Member Functions inherited from QQmlJavaScriptExpression
 QQmlJavaScriptExpression ()
 
virtual ~QQmlJavaScriptExpression ()
 
virtual QString expressionIdentifier () const
 
QV4::ReturnedValue evaluate (bool *isUndefined)
 
QV4::ReturnedValue evaluate (QV4::CallData *callData, bool *isUndefined)
 
bool evaluate (void **a, const QMetaType *types, int argc)
 
bool notifyOnValueChanged () const
 
void setNotifyOnValueChanged (bool v)
 
void resetNotifyOnValueChanged ()
 
QObjectscopeObject () const
 
void setScopeObject (QObject *v)
 
virtual QQmlSourceLocation sourceLocation () const
 
bool hasContext () const
 
bool hasValidContext () const
 
QQmlContextpublicContext () const
 
QQmlRefPointer< QQmlContextDatacontext () const
 
void setContext (const QQmlRefPointer< QQmlContextData > &context)
 
void insertIntoList (QQmlJavaScriptExpression **listHead)
 
QV4::Functionfunction () const
 
virtual void refresh ()
 
bool hasError () const
 
bool hasDelayedError () const
 
QQmlError error (QQmlEngine *) const
 
void clearError ()
 
void clearActiveGuards ()
 
QQmlDelayedErrordelayedError ()
 
QQmlEngineengine () const
 
bool hasUnresolvedNames () const
 
bool needsPropertyChangeTrigger (QObject *target, int propertyIndex)
 
QPropertyChangeTriggerallocatePropertyChangeTrigger (QObject *target, int propertyIndex)
 

Public Attributes

QV4::PersistentValue m_boundFunction
 

Additional Inherited Members

- Static Public Member Functions inherited from QQmlJavaScriptExpression
static QV4::ReturnedValue evalFunction (const QQmlRefPointer< QQmlContextData > &ctxt, QObject *scope, const QString &code, const QString &filename, quint16 line)
 
- Protected Types inherited from QQmlJavaScriptExpression
enum  GuardTag { NoGuardTag , NotifyOnValueChanged }
 
enum  Tag { NoTag , InEvaluationLoop }
 
- Protected Member Functions inherited from QQmlJavaScriptExpression
void createQmlBinding (const QQmlRefPointer< QQmlContextData > &ctxt, QObject *scope, const QString &code, const QString &filename, quint16 line)
 
void setupFunction (QV4::ExecutionContext *qmlContext, QV4::Function *f)
 
void setCompilationUnit (const QQmlRefPointer< QV4::ExecutableCompilationUnit > &compilationUnit)
 
- Protected Attributes inherited from QQmlJavaScriptExpression
QBiPointer< QObject, DeleteWatcherm_scopeObject
 
QForwardFieldList< QQmlJavaScriptExpressionGuard, &QQmlJavaScriptExpressionGuard::next, GuardTagactiveGuards
 
QTaggedPointer< QQmlDelayedError, Tagm_error
 
TriggerListqpropertyChangeTriggers = nullptr
 

Detailed Description

Definition at line 50 of file qqmlpropertybinding_p.h.

Member Function Documentation

◆ evaluate()

QV4::ReturnedValue QQmlPropertyBindingJSForBoundFunction::evaluate ( bool * isUndefined)

Definition at line 362 of file qqmlpropertybinding.cpp.

References args, QV4::PersistentValue::as(), QList< T >::data(), QQmlJavaScriptExpression::engine(), QQmlJavaScriptExpression::evaluate(), QJSEngine::handle(), m_boundFunction, and QList< T >::size().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_boundFunction

QV4::PersistentValue QQmlPropertyBindingJSForBoundFunction::m_boundFunction

Definition at line 54 of file qqmlpropertybinding_p.h.

Referenced by evaluate().


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