misc.h
author insilmaril
Thu Nov 08 15:28:03 2007 +0000 (2007-11-08)
changeset 620 24bfecc949a0
parent 422 07a2f3f31101
child 789 d85834ad8c54
permissions -rw-r--r--
1.11.2 split up of xml helper functions. started to work on attributes
     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 QPointF normalise (const QPointF &);
    18 qreal max (qreal,qreal);
    19 class BranchObj;
    20 class MapEditor;
    21 
    22 #endif