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
QPropertyChangeTrigger Struct Reference

#include <qqmlengine_p.h>

+ Inheritance diagram for QPropertyChangeTrigger:
+ Collaboration diagram for QPropertyChangeTrigger:

Public Member Functions

 QPropertyChangeTrigger (QQmlJavaScriptExpression *expression)
 
QMetaProperty property () const
 
- Public Member Functions inherited from QPropertyObserver
constexpr QPropertyObserver ()=default
 
 QPropertyObserver (QPropertyObserver &&other) noexcept
 
QPropertyObserveroperator= (QPropertyObserver &&other) noexcept
 
 ~QPropertyObserver ()
 
template<typename Property , QtPrivate::IsUntypedPropertyData< Property > = true>
void setSource (const Property &property)
 
void setSource (const QtPrivate::QPropertyBindingData &property)
 

Static Public Member Functions

static void trigger (QPropertyObserver *, QUntypedPropertyData *)
 

Public Attributes

QPointer< QObjecttarget
 
QQmlJavaScriptExpressionm_expression
 
int propertyIndex = 0
 
- Public Attributes inherited from QPropertyObserverBase

Additional Inherited Members

- Public Types inherited from QPropertyObserverBase
enum  ObserverTag { ObserverNotifiesBinding , ObserverNotifiesChangeHandler , ObserverIsPlaceholder }
 
- Protected Types inherited from QPropertyObserverBase
using ChangeHandler = void (*)(QPropertyObserver*, QUntypedPropertyData *)
 
- Protected Member Functions inherited from QPropertyObserver
 QPropertyObserver (ChangeHandler changeHandler)
 
QUntypedPropertyDataaliasedProperty () const
 

Detailed Description

Definition at line 76 of file qqmlengine_p.h.

Constructor & Destructor Documentation

◆ QPropertyChangeTrigger()

QPropertyChangeTrigger::QPropertyChangeTrigger ( QQmlJavaScriptExpression * expression)
inline

Definition at line 79 of file qqmlengine_p.h.

Member Function Documentation

◆ property()

QMetaProperty QPropertyChangeTrigger::property ( ) const

Definition at line 530 of file qqmljavascriptexpression.cpp.

◆ trigger()

void QPropertyChangeTrigger::trigger ( QPropertyObserver * observer,
QUntypedPropertyData *  )
static

Definition at line 525 of file qqmljavascriptexpression.cpp.

Member Data Documentation

◆ m_expression

QQmlJavaScriptExpression* QPropertyChangeTrigger::m_expression

Definition at line 86 of file qqmlengine_p.h.

◆ propertyIndex

int QPropertyChangeTrigger::propertyIndex = 0

Definition at line 87 of file qqmlengine_p.h.

◆ target

QPointer<QObject> QPropertyChangeTrigger::target

Definition at line 85 of file qqmlengine_p.h.


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