Ignore:
Timestamp:
Nov 3, 2026, 10:53:35 AM (3 weeks ago)
Author:
stuerze
Message:

deprecated functions exchanged libs updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_plot_seriesitem.h

    r9383 r11158  
    1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
     1/******************************************************************************
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    … …  
    1313#include "qwt_global.h"
    1414#include "qwt_plot_item.h"
    15 #include "qwt_scale_div.h"
    16 #include "qwt_series_data.h"
    1715#include "qwt_series_store.h"
    1816
     17#include <qstring.h>
     18
     19class QwtScaleDiv;
     20
    1921/*!
    20   \brief Base class for plot items representing a series of samples
    21 */
    22 class QWT_EXPORT QwtPlotSeriesItem: public QwtPlotItem,
     22   \brief Base class for plot items representing a series of samples
     23 */
     24class QWT_EXPORT QwtPlotSeriesItem : public QwtPlotItem,
    2325    public virtual QwtAbstractSeriesStore
    2426{
    25 public:
    26     explicit QwtPlotSeriesItem( const QString &title = QString() );
    27     explicit QwtPlotSeriesItem( const QwtText &title );
     27  public:
     28    explicit QwtPlotSeriesItem( const QString& title = QString() );
     29    explicit QwtPlotSeriesItem( const QwtText& title );
    2830
    2931    virtual ~QwtPlotSeriesItem();
    … …  
    3234    Qt::Orientation orientation() const;
    3335
    34     virtual void draw( QPainter *,
    35         const QwtScaleMap &xMap, const QwtScaleMap &yMap,
    36         const QRectF & ) const;
     36    virtual void draw( QPainter*,
     37        const QwtScaleMap& xMap, const QwtScaleMap& yMap,
     38        const QRectF& canvasRect ) const QWT_OVERRIDE;
    3739
    3840    /*!
    39       Draw a subset of the samples
     41       Draw a subset of the samples
    4042
    41       \param painter Painter
    42       \param xMap Maps x-values into pixel coordinates.
    43       \param yMap Maps y-values into pixel coordinates.
    44       \param canvasRect Contents rectangle of the canvas
    45       \param from Index of the first point to be painted
    46       \param to Index of the last point to be painted. If to < 0 the
     43       \param painter Painter
     44       \param xMap Maps x-values into pixel coordinates.
     45       \param yMap Maps y-values into pixel coordinates.
     46       \param canvasRect Contents rectangle of the canvas
     47       \param from Index of the first point to be painted
     48       \param to Index of the last point to be painted. If to < 0 the
    4749             curve will be painted to its last point.
    48     */
    49     virtual void drawSeries( QPainter *painter,
    50         const QwtScaleMap &xMap, const QwtScaleMap &yMap,
    51         const QRectF &canvasRect, int from, int to ) const = 0;
     50     */
     51    virtual void drawSeries( QPainter* painter,
     52        const QwtScaleMap& xMap, const QwtScaleMap& yMap,
     53        const QRectF& canvasRect, int from, int to ) const = 0;
    5254
    53     virtual QRectF boundingRect() const;
     55    virtual QRectF boundingRect() const QWT_OVERRIDE;
    5456
    5557    virtual void updateScaleDiv(
    56         const QwtScaleDiv &, const QwtScaleDiv & );
     58        const QwtScaleDiv&, const QwtScaleDiv& ) QWT_OVERRIDE;
    5759
    58 protected:
    59     virtual void dataChanged();
     60  protected:
     61    virtual void dataChanged() QWT_OVERRIDE;
    6062
    61 private:
     63  private:
    6264    class PrivateData;
    63     PrivateData *d_data;
     65    PrivateData* m_data;
    6466};
    6567
Note: See TracChangeset for help on using the changeset viewer.