Il 16/07/20 17:40, Volker Hilsheimer ha scritto:
The struct has no data itself, so ideally would be of size zero.
I'm missing some piece of the puzzle: if you take action->text, and text is a zero-size struct, how does the operator() applied to it figure out which action needs to read the text property from? E.g. like so:
QAction *action = ~~~; auto prop = action->text; QString text = prop();
Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development