1
/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
3
* Copyright (C) 1997 Josef Wilgen
4
* Copyright (C) 2002 Uwe Rathmann
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the Qwt License, Version 1.0
8
*****************************************************************************/
12
#ifndef QWT_VALUELIST_H
13
#define QWT_VALUELIST_H
15
#include "qwt_global.h"
21
#if QT_VERSION < 0x040000
23
#include <qvaluelist.h>
25
#if defined(QWT_TEMPLATEDLL)
27
template class QWT_EXPORT QValueList<double>;
31
typedef QValueList<double> QwtValueList;
33
#else // QT_VERSION >= 0x040000
37
#if defined(QWT_TEMPLATEDLL)
39
#if QT_VERSION < 0x040300
40
// Some compilers have problems,
41
// without a qHash(double) implementation
44
inline uint qHash(double key) { return uint(key); }
48
template class QWT_EXPORT QList<double>;
51
#endif // QWT_TEMPLATEDLL
53
typedef QList<double> QwtValueList;