On 15-4-2015 18:44, Matthew Woehlke wrote:
> The second form would thus save the value <-> QVariant comparison and 
> not much else. The third form however eliminates the string look-up 
> entirely by having the user provide both the backing member variable 
> *and* what to do when a change should be emitted. (I'd expect this to 
> be the change signal most of the time, but taking a functor adds the 
> flexibility of allowing users to do other things if needed.)
Right, of course. That may be useful indeed. Thank you for your 
feedback, it is apreciated!

André

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to