> Do you really care? What are you trying to prevent? Why?
It helps prevent brainless leakage of the class implementation into the
using code. Sure, people can still try to find it using workarounds but
they will be that much less inclined to do so. The point about extra object
is pretty valid th
Le mar. 24 sept. 2024 à 13:52, Federico Ferri
a écrit :
> Greetings,
>
> during last years of development with QML I always wondered how to solve
> certain software engineering problems.
>
> First, defining private properties: I have seen sometimes doing:
>
> Item {
> property int publicProp:
Greetings,
during last years of development with QML I always wondered how to solve
certain software engineering problems.
First, defining private properties: I have seen sometimes doing:
Item {
property int publicProp: 40 + state.privateProp
QtObject {
id: state
property