Q_PROPERTYs in preferences code

Berthold Stoeger bstoeger at mail.tuwien.ac.at
Sat Dec 16 04:26:16 PST 2017


Hi all,

Short question: Are the numerous Q_PROPERTY macros in core/subsurface-qt/
SettingsObjectWrapper.h needed for the mobile version? If I remove them, the 
desktop version compiles and works just fine.

Somehow this all seems redundant: Each property has a WRITE method and a 
NOTIFY signal, but the signal is raised in the WRITE method anyway..? Does 
this mean that the signals are raised twice on mobile?

Thanks,

Berthold


More information about the subsurface mailing list