00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 #ifndef QWT_VALUELIST_H
00013 #define QWT_VALUELIST_H
00014 
00015 #include "qwt_global.h"
00016 
00021 #if QT_VERSION < 0x040000
00022 
00023 #include <qvaluelist.h>
00024 
00025 #if defined(QWT_TEMPLATEDLL)
00026 
00027 template class QWT_EXPORT QValueList<double>;
00028 
00029 #endif
00030 
00031 typedef QValueList<double> QwtValueList;
00032 
00033 #else // QT_VERSION >= 0x040000
00034 
00035 #include <qlist.h>
00036 
00037 #if defined(QWT_TEMPLATEDLL)
00038 
00039 #if QT_VERSION < 0x040300
00040 
00041 
00042 #include <qset.h>
00043 #include <qvector.h>
00044 inline uint qHash(double key) { return uint(key); }
00045 #endif
00046 
00047 
00048 template class QWT_EXPORT QList<double>;
00049 
00050 
00051 #endif // QWT_TEMPLATEDLL
00052 
00053 typedef QList<double> QwtValueList;
00054 
00055 #endif
00056 
00057 #endif