diff -r 270593ab83b2 -r 16b250a57c17 misc.cpp --- a/misc.cpp Mon May 30 05:39:10 2005 +0000 +++ b/misc.cpp Fri Jul 22 15:38:06 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)