The name after the type, in this case client_name, is the name of the property.
The name after MEMBER is the name of the variable.
They can of course be the same.
In a script context, e.g. QML, JavaScript, etc. you can access the property with the name
myObject.client_name
myObject.client_name
To copy to clipboard, switch view to plain text mode
In a C++ context you can access this form or getter-less property using the base property function
QString name
= myObject
->property
("client_name").
toString();
QString name = myObject->property("client_name").toString();
To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks