00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _QWT_COMPAT_H_
00011 #define _QWT_COMPAT_H_
00012
00013 #include "qwt_global.h"
00014 #include <qlist.h>
00015 #include <qvector.h>
00016 #include <qpoint.h>
00017 #include <qsize.h>
00018 #include <qrect.h>
00019 #include <qpolygon.h>
00020
00021
00022
00023 #define qwtMax qMax
00024 #define qwtMin qMin
00025 #define qwtAbs qAbs
00026 #define qwtRound qRound
00027
00028 #define QwtArray QVector
00029
00030 typedef QList<double> QwtValueList;
00031 typedef QPointF QwtDoublePoint;
00032 typedef QSizeF QwtDoubleSize;
00033 typedef QRectF QwtDoubleRect;
00034
00035 typedef QPolygon QwtPolygon;
00036 typedef QPolygonF QwtPolygonF;
00037 typedef QwtInterval QwtDoubleInterval;
00038 typedef QwtPoint3D QwtDoublePoint3D;
00039
00040 #endif