Go to the source code of this file.
◆ JF_FWD_R_PROP
#define JF_FWD_R_PROP |
( |
| type, |
|
|
| propName, |
|
|
| propSetName, |
|
|
| obj ) |
Value: public: \
Q_PROPERTY(type propName READ propName NOTIFY propName##Changed) \
type propName() const { return obj.propName(); } \
signals: \
void propName##Changed(type newValue);
◆ JF_FWD_RW_PROP
#define JF_FWD_RW_PROP |
( |
| type, |
|
|
| propName, |
|
|
| propSetName, |
|
|
| obj ) |
Value: public: \
Q_PROPERTY(type propName READ propName WRITE set##propSetName NOTIFY propName##Changed) \
type propName() const { return obj.propName(); } \
void set##propSetName(type newValue) { \
obj.set##propSetName( newValue ); \
emit propName##Changed(); \
} \
Q_SIGNALS: \
void propName##Changed();