Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties

2013-11-24 Thread Andrey Kozhevnikov
can i use it if i copy both ComboBox and ContextMenu to my project? On 24.11.2013 19:22, christopher.l...@thurweb.ch wrote: Hi Andrey If the _underscore is, as we suspect an indication of "internal only", the next question is what is internal? Internal could mean to the component itself. Ho

Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties

2013-11-24 Thread christopher . lamb
Hi Andrey If the _underscore is, as we suspect an indication of "internal only", the next question is what is internal? Internal could mean to the component itself. However it could mean "internal to Silica". Under this definition a call from Combobox to ContextMenu could be regarded as in

Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties

2013-11-24 Thread Andrey Kozhevnikov
ComboBox can use private properties of ContextMenu, but i can't? really? :D On 24.11.2013 15:26, christopher.l...@thurweb.ch wrote: Andrey I beg to differ. You can hack in any language, just as you can apply clean coding conventions. QML is no different here, it is just a little less rigorou

Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties

2013-11-24 Thread zoltan . lutor
'protected' ? ;-) I mean when a 'derived' component creted, altering/extending original vehaviour, they canbe used. But just guessing... Zoltán christopher.l...@thurweb.ch írta ekkor: 2013.11.24. 10:26 Andrey I beg to differ. You can hack in any language, just as you can apply clean codi

Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties

2013-11-24 Thread christopher . lamb
Andrey I beg to differ. You can hack in any language, just as you can apply clean coding conventions. QML is no different here, it is just a little less rigorous in enforcing some conventions. Just like any code, QML code will need maintaining, updating etc, so I prefer to clean code and