1.1 --- a/misc.cpp Tue Sep 08 12:15:39 2009 +0000
1.2 +++ b/misc.cpp Fri Nov 27 15:00:51 2009 +0000
1.3 @@ -1,7 +1,6 @@
1.4 #include <math.h>
1.5
1.6 #include <qregexp.h>
1.7 -//#include <qpoint.h>
1.8 #include <stdlib.h>
1.9
1.10 #include "misc.h"
1.11 @@ -29,6 +28,12 @@
1.12 return stream;
1.13 }
1.14
1.15 +ostream &operator<< (ostream &stream, QRectF const &r)
1.16 +{
1.17 + stream << "tL="<<r.topLeft()<<" - bR="<<r.bottomRight();
1.18 + return stream;
1.19 +}
1.20 +
1.21 ostream &operator<< (ostream &stream, Vector const &p)
1.22 {
1.23 stream << "("<<p.x()<<","<<p.y()<<")";