Hi to all,
I'm new to Qwt, and I need a little help.

Using qwtPlotCurve class I am not able to compile the following part of program:

Qt Code:
  1. curve->setSamples(xValue, yValue, samplesNumber);
  2. curve->setPen(QColor(Qt::blue));
  3. curve->setStyle(QwtPlotCurve::Lines);
  4. curve->setBrush(QBrush(Qt::blue, Qt::SolidPattern));
  5. curve->setBaseline(0);
  6. curve->setCurveType(QwtPlotCurve::Yfx);
To copy to clipboard, switch view to plain text mode 

These are the errors I have:

error: 'class QwtPlotCurve' has no member named 'setCurveType'
error: 'Yfx' is not a member of 'QwtPlotCurve'

I'm using QT Creator 2.2.1 (Qt 4.7.4) on Windows XP, and QWT 6.0.1.

I searched in the documentation, and setCurveType member, Yfx and Xfy have disappeared in the last version.
Even searching in .c and.h file in C:\qwt-6.0.1\src folder on my PC, I'm not able to find the setCurveType member or Yfx and Xfy definitions.

What seems strange to me is that noone in the forum raised this problem, so maybe I'm wrong: I apologize with all if this is the case.
Thank you in advance,
c