diff -r 270593ab83b2 -r 6c199971ddb5 misc.cpp --- a/misc.cpp Mon May 30 05:39:10 2005 +0000 +++ b/misc.cpp Sat Jul 23 10:26:30 2005 +0000 @@ -3,10 +3,14 @@ #include "misc.h" +QString qpointToString (const QPoint &p) +{ + return "(" + QString("%1").arg(p.x()) +","+ QString ("%1").arg (p.y()) +")"; +} ostream &operator<< (ostream &stream, QPoint const &p) { - return (stream << "(" << p.x() << "," << p.y() << ")"); + return (stream << qpointToString(p) ); } float getAngle(const QPoint &p)