Details
-
Suggestion
-
Resolution: Moved
-
Not Evaluated
-
None
-
None
-
None
Description
use case: I am having a data model class that needs init based on a specific property from the QML side.
for example, something like this:
struct MyData : public Qul::Object { Qul::Property<int, onValChanged> val; void onValChanged(int val) { // this function will be called after 10 is set. } }; MyData { val: 10 }