CopperSpice API  1.9.2
QDynamicPropertyChangeEvent Class Reference

The QDynamicPropertyChangeEvent class contains event parameters for dynamic property change events. More...

Inheritance diagram for QDynamicPropertyChangeEvent:
QEvent

Public Methods

 QDynamicPropertyChangeEvent (const QByteArray &name)
 
QByteArray propertyName () const
 
- Public Methods inherited from QEvent
 QEvent (const QEvent &other)
 
 QEvent (Type type)
 
virtual ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
QEvent & operator= (const QEvent &other)
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from QEvent
enum  Type
 
- Static Public Methods inherited from QEvent
static int registerEventType (int hint=-1)
 

Detailed Description

The QDynamicPropertyChangeEvent class contains event parameters for dynamic property change events.

Dynamic property change events are sent to objects when properties are dynamically added, changed or removed using QObject::setProperty().

See also
QObject::setProperty(), QObject::dynamicPropertyNames()

Constructor & Destructor Documentation

QDynamicPropertyChangeEvent::QDynamicPropertyChangeEvent ( const QByteArray name)
explicit

Constructs a dynamic property change event object with the property name set to name.

Method Documentation

QByteArray QDynamicPropertyChangeEvent::propertyName ( ) const
inline

Returns the name of the dynamic property that was added, changed or removed.

See also
QObject::setProperty(), QObject::dynamicPropertyNames()