On 30/09/2019 15.35, Thiago Macieira wrote:
> On Monday, 30 September 2019 11:06:18 PDT Matthew Woehlke wrote:
>> IOW, the example would look like:
>>
>>
>>   fullname.setBinding(
>>     [](Foo const* self){
>>       return self->surname() + " " + self->lastname();
>>     });
> 
> How does the QProperty class know about Foo?

Constructor?

How does it emit property changed signals with the correct sender if it
*doesn't* know about its owner?

-- 
Matthew
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to