misc.h
author insilmaril
Mon, 07 Sep 2009 15:36:57 +0000
changeset 791 f1006de05c54
parent 789 d85834ad8c54
child 792 7d67be709091
permissions -rw-r--r--
Fixed several Model errors using ModelTest
     1 #ifndef MISC_H
     2 #define MISC_H
     3 
     4 #include <qpoint.h>
     5 #include <qdir.h>
     6 #include <iostream>
     7 
     8 using namespace std;
     9 
    10 
    11 /////////////////////////////////////////////////////////////////////////////
    12 QString qpointToString (const QPoint &p);
    13 QString qpointfToString (const QPointF &p);
    14 extern ostream &operator<< (ostream &stream, QPoint const &p);
    15 extern ostream &operator<< (ostream &stream, QPointF const &p);
    16 qreal getAngle(const QPointF &);
    17 qreal max (qreal,qreal);
    18 
    19 #endif