Index: trunk/BNC/qwt/qwt_plot_seriesitem.cpp
===================================================================
--- trunk/BNC/qwt/qwt_plot_seriesitem.cpp	(revision 9383)
+++ trunk/BNC/qwt/qwt_plot_seriesitem.cpp	(revision 11158)
@@ -1,3 +1,3 @@
-/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
+/******************************************************************************
  * Qwt Widget Library
  * Copyright (C) 1997   Josef Wilgen
@@ -9,10 +9,12 @@
 
 #include "qwt_plot_seriesitem.h"
+#include "qwt_scale_div.h"
+#include "qwt_text.h"
 
 class QwtPlotSeriesItem::PrivateData
 {
-public:
-    PrivateData():
-        orientation( Qt::Vertical )
+  public:
+    PrivateData()
+        : orientation( Qt::Vertical )
     {
     }
@@ -22,22 +24,22 @@
 
 /*!
-  Constructor
-  \param title Title of the curve
-*/
-QwtPlotSeriesItem::QwtPlotSeriesItem( const QwtText &title ):
-    QwtPlotItem( title )
+   Constructor
+   \param title Title of the curve
+ */
+QwtPlotSeriesItem::QwtPlotSeriesItem( const QwtText& title )
+    : QwtPlotItem( title )
 {
-    d_data = new PrivateData();
+    m_data = new PrivateData();
     setItemInterest( QwtPlotItem::ScaleInterest, true );
 }
 
 /*!
-  Constructor
-  \param title Title of the curve
-*/
-QwtPlotSeriesItem::QwtPlotSeriesItem( const QString &title ):
-    QwtPlotItem( QwtText( title ) )
+   Constructor
+   \param title Title of the curve
+ */
+QwtPlotSeriesItem::QwtPlotSeriesItem( const QString& title )
+    : QwtPlotItem( QwtText( title ) )
 {
-    d_data = new PrivateData();
+    m_data = new PrivateData();
     setItemInterest( QwtPlotItem::ScaleInterest, true );
 }
@@ -46,21 +48,21 @@
 QwtPlotSeriesItem::~QwtPlotSeriesItem()
 {
-    delete d_data;
+    delete m_data;
 }
 
 /*!
-  Set the orientation of the item.
+   Set the orientation of the item.
 
-  The orientation() might be used in specific way by a plot item.
-  F.e. a QwtPlotCurve uses it to identify how to display the curve
-  int QwtPlotCurve::Steps or QwtPlotCurve::Sticks style.
+   The orientation() might be used in specific way by a plot item.
+   F.e. a QwtPlotCurve uses it to identify how to display the curve
+   int QwtPlotCurve::Steps or QwtPlotCurve::Sticks style.
 
-  \sa orientation()
-*/
+   \sa orientation()
+ */
 void QwtPlotSeriesItem::setOrientation( Qt::Orientation orientation )
 {
-    if ( d_data->orientation != orientation )
+    if ( m_data->orientation != orientation )
     {
-        d_data->orientation = orientation;
+        m_data->orientation = orientation;
 
         legendChanged();
@@ -70,23 +72,23 @@
 
 /*!
-  \return Orientation of the plot item
-  \sa setOrientation()
-*/
+   \return Orientation of the plot item
+   \sa setOrientation()
+ */
 Qt::Orientation QwtPlotSeriesItem::orientation() const
 {
-    return d_data->orientation;
+    return m_data->orientation;
 }
 
 /*!
-  \brief Draw the complete series
+   \brief Draw the complete series
 
-  \param painter Painter
-  \param xMap Maps x-values into pixel coordinates.
-  \param yMap Maps y-values into pixel coordinates.
-  \param canvasRect Contents rectangle of the canvas
-*/
-void QwtPlotSeriesItem::draw( QPainter *painter,
-        const QwtScaleMap &xMap, const QwtScaleMap &yMap,
-        const QRectF &canvasRect ) const
+   \param painter Painter
+   \param xMap Maps x-values into pixel coordinates.
+   \param yMap Maps y-values into pixel coordinates.
+   \param canvasRect Contents rectangle of the canvas
+ */
+void QwtPlotSeriesItem::draw( QPainter* painter,
+    const QwtScaleMap& xMap, const QwtScaleMap& yMap,
+    const QRectF& canvasRect ) const
 {
     drawSeries( painter, xMap, yMap, canvasRect, 0, -1 );
@@ -99,5 +101,5 @@
 
 void QwtPlotSeriesItem::updateScaleDiv(
-    const QwtScaleDiv &xScaleDiv, const QwtScaleDiv &yScaleDiv )
+    const QwtScaleDiv& xScaleDiv, const QwtScaleDiv& yScaleDiv )
 {
     const QRectF rect = QRectF(
