[Kde-java] Operator overloading

Emond Papegaaij kde-java@kde.org
Sun, 10 Feb 2002 18:09:49 +0100


Hi,

I'm still working on QtJava, and I've discovered another problem. You can't 
multiply two QWMatrix objects. In C++ you would just multiply then (a*b), but 
this is not possible in java. Maybe it's a good idea to generate methods for 
this. Something like QWMatrix.mult(QWMatrix) or a static method 
QWMatrix.mult(QWMatrix, QWMatrix).

Emond Papegaaij