Il 15/03/24 19:17, Jaroslaw Kobus via Development ha scritto:
+1. Typically, the designer of a subclass knows what he is doing. But it also happens that users of this class know better how to use it :)
I'm not sure what this means.If you override `event()` (public in QObject) as e.g. protected, it's either a mistake in good faith (you thought it was protected all along), but it's never a "I know better". You clearly *don't* know better, as you don't know C++.
My 2 c, -- 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 - Trusted Software Excellence
smime.p7s
Description: Firma crittografica S/MIME
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development