Kakadu / lablqml

Interfacing Qt/QML with OCaml. Formely known as lablqt
http://kakadu.github.io/lablqml
GNU Lesser General Public License v2.1
159 stars 17 forks source link

PropMap should return QObject::connect return object #24

Open ghost opened 8 years ago

ghost commented 8 years ago

https://github.com/Kakadu/lablqt/blob/master/lablqml/propMap_stubs.c#L53

QObject::connect returns a connection object that can be used to disconnect reliably later on. You should return that to ocaml in case the user wants to disconnect a ocaml closure later on.

-- Goswin

Kakadu commented 8 years ago

I really don't think that it is critical.

ghost commented 8 years ago

Yes, it's not for applications whose property maps live for the whole time the application runs.

It's a note for future reference when the implementation needs to be completed.

Kakadu commented 8 years ago

Completed? LOL