diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-02 08:30:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-04 10:56:55 -0800 |
commit | d000cb2b0d038264abb1384c037da10d753549b9 (patch) | |
tree | 2e022d4e327c898a488178c6f0a51831e6fce0b7 /tests/testmerge.h | |
parent | 342a8db93a59897bd71ae52266595754021e980a (diff) | |
download | subsurface-d000cb2b0d038264abb1384c037da10d753549b9.tar.gz |
mobile-widgetes/qml: standardize QML/C++ interface
Do not use a.set_b(value); it works, but it introduces yet another way of using
the QML/C++ interface, furthermore the function might not be called set_b in
some future, which is the reason the function is define in Q_PROPERTY
Use a.b = value, that respects Q_PROPERTY, and is slightly more performant,
most importantly it's like all the other settings so noone starts wondering why
this is special.
Signed-off-by: Jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testmerge.h')
0 files changed, 0 insertions, 0 deletions