misc.h
changeset 792 7d67be709091
parent 789 d85834ad8c54
child 802 f076fdec767d
     1.1 --- a/misc.h	Mon Sep 07 15:36:57 2009 +0000
     1.2 +++ b/misc.h	Tue Sep 08 12:15:39 2009 +0000
     1.3 @@ -1,18 +1,23 @@
     1.4  #ifndef MISC_H
     1.5  #define MISC_H
     1.6  
     1.7 -#include <qpoint.h>
     1.8 -#include <qdir.h>
     1.9  #include <iostream>
    1.10 -
    1.11  using namespace std;
    1.12  
    1.13 +class QString;
    1.14 +class QPoint;
    1.15 +class QPointF;
    1.16 +class Vector;
    1.17  
    1.18  /////////////////////////////////////////////////////////////////////////////
    1.19  QString qpointToString (const QPoint &p);
    1.20 -QString qpointfToString (const QPointF &p);
    1.21 +QString qpointFToString (const QPointF &p);
    1.22 +QString VectorToString (const Vector &p);
    1.23 +
    1.24 +
    1.25  extern ostream &operator<< (ostream &stream, QPoint const &p);
    1.26  extern ostream &operator<< (ostream &stream, QPointF const &p);
    1.27 +extern ostream &operator<< (ostream &stream, Vector const &p);
    1.28  qreal getAngle(const QPointF &);
    1.29  qreal max (qreal,qreal);
    1.30