Q_PROPERTYs in preferences code

Dirk Hohndel dirk at hohndel.org
Sat Dec 16 08:09:12 PST 2017


I'm reasonable sure this code came from Tomaz who is our resident Qt wizard...

/D

> On Dec 16, 2017, at 4:26 AM, Berthold Stoeger <bstoeger at mail.tuwien.ac.at> wrote:
> 
> 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
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface



More information about the subsurface mailing list