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
QQmlBoundSignalExpression Class Referencefinal

#include <qqmlboundsignal_p.h>

Inheritance diagram for QQmlBoundSignalExpression:
Collaboration diagram for QQmlBoundSignalExpression:

Public Member Functions

 QQmlBoundSignalExpression (const QObject *target, int index, const QQmlRefPointer< QQmlContextData > &ctxt, QObject *scope, const QString &expression, const QString &fileName, quint16 line, quint16 column, const QString &handlerName=QString(), const QString &parameterString=QString())
 QQmlBoundSignalExpression (const QObject *target, int index, const QQmlRefPointer< QQmlContextData > &ctxt, QObject *scopeObject, QV4::Function *function, QV4::ExecutionContext *scope=nullptr)
QString expressionIdentifier () const override
void expressionChanged () override
void evaluate (void **a)
bool mustCaptureBindableProperty () const final
QString expression () const
const QObjecttarget () const
Public Member Functions inherited from QQmlJavaScriptExpression
 QQmlJavaScriptExpression ()
virtual ~QQmlJavaScriptExpression ()
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 Member Functions inherited from QQmlRefCounted< QQmlBoundSignalExpression >
void release () const
Public Member Functions inherited from QQmlRefCount
 QQmlRefCount ()
void addref () const
int count () const

Private Member Functions

 ~QQmlBoundSignalExpression () override

Friends

class QQmlRefCounted< QQmlBoundSignalExpression >

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 Member Functions inherited from QQmlRefCounted< QQmlBoundSignalExpression >
 ~QQmlRefCounted ()
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 27 of file qqmlboundsignal_p.h.

Constructor & Destructor Documentation

◆ QQmlBoundSignalExpression() [1/2]

QQmlBoundSignalExpression::QQmlBoundSignalExpression ( const QObject * target,
int index,
const QQmlRefPointer< QQmlContextData > & ctxt,
QObject * scope,
const QString & expression,
const QString & fileName,
quint16 line,
quint16 column,
const QString & handlerName = QString(),
const QString & parameterString = QString() )

◆ QQmlBoundSignalExpression() [2/2]

QQmlBoundSignalExpression::QQmlBoundSignalExpression ( const QObject * target,
int index,
const QQmlRefPointer< QQmlContextData > & ctxt,
QObject * scopeObject,
QV4::Function * function,
QV4::ExecutionContext * scope = nullptr )

Definition at line 71 of file qqmlboundsignal.cpp.

Member Function Documentation

◆ ~QQmlBoundSignalExpression()

QQmlBoundSignalExpression::~QQmlBoundSignalExpression ( )
overrideprivate

Definition at line 134 of file qqmlboundsignal.cpp.

◆ evaluate()

void QQmlBoundSignalExpression::evaluate ( void ** a)

Definition at line 158 of file qqmlboundsignal.cpp.

◆ expression()

QString QQmlBoundSignalExpression::expression ( ) const

Definition at line 149 of file qqmlboundsignal.cpp.

◆ expressionChanged()

void QQmlBoundSignalExpression::expressionChanged ( )
overridevirtual

Implements QQmlJavaScriptExpression.

Definition at line 144 of file qqmlboundsignal.cpp.

◆ expressionIdentifier()

QString QQmlBoundSignalExpression::expressionIdentifier ( ) const
overridevirtual

Reimplemented from QQmlJavaScriptExpression.

Definition at line 138 of file qqmlboundsignal.cpp.

◆ mustCaptureBindableProperty()

bool QQmlBoundSignalExpression::mustCaptureBindableProperty ( ) const
inlinefinalvirtual

Reimplemented from QQmlJavaScriptExpression.

Definition at line 49 of file qqmlboundsignal_p.h.

◆ target()

const QObject * QQmlBoundSignalExpression::target ( ) const
inline

Definition at line 52 of file qqmlboundsignal_p.h.

◆ QQmlRefCounted< QQmlBoundSignalExpression >

friend class QQmlRefCounted< QQmlBoundSignalExpression >
friend

Definition at line 103 of file qqmlboundsignal_p.h.


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