Hi,
anybody known if and how it is possible to extends the available methods to
Qt.vector3d, Qt.vector2d, Qt.vector4d... and the like.

Maybe like in javascript we can do:
String.prototype.myCustomMethod = function(str) { ... }

We are refactoring code, we had all this function into a Qml singleton
implemented either in javascript or in C++, I would like to have them
directly into the right type instead.

Thanks,
Jerome
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to