Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_scale_div.h


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_scale_div.h

    r9383 r11158  
    1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
     1/******************************************************************************
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    … …  
    1212
    1313#include "qwt_global.h"
    14 #include "qwt_interval.h"
    1514#include <qlist.h>
    1615
    17 #ifndef QT_NO_DEBUG_STREAM
    18 #include <qdebug.h>
    19 #endif
     16class QwtInterval;
    2017
    2118/*!
    22   \brief A class representing a scale division
     19   \brief A class representing a scale division
    2320
    24   A Qwt scale is defined by its boundaries and 3 list
    25   for the positions of the major, medium and minor ticks.
     21   A Qwt scale is defined by its boundaries and 3 list
     22   for the positions of the major, medium and minor ticks.
    2623
    27   The upperBound() might be smaller than the lowerBound()
    28   to indicate inverted scales.
     24   The upperBound() might be smaller than the lowerBound()
     25   to indicate inverted scales.
    2926
    30   Scale divisions can be calculated from a QwtScaleEngine.
     27   Scale divisions can be calculated from a QwtScaleEngine.
    3128
    32   \sa QwtScaleEngine::divideScale(), QwtPlot::setAxisScaleDiv(),
     29   \sa QwtScaleEngine::divideScale(), QwtPlot::setAxisScaleDiv(),
    3330      QwtAbstractSlider::setScaleDiv()
    34 */
     31 */
    3532
    3633class QWT_EXPORT QwtScaleDiv
    3734{
    38 public:
     35  public:
    3936    //! Scale tick types
    4037    enum TickType
    … …  
    5956        double upperBound = 0.0 );
    6057
    61     explicit QwtScaleDiv( const QwtInterval &, QList<double>[NTickTypes] );
     58    explicit QwtScaleDiv( const QwtInterval&, QList< double >[NTickTypes] );
    6259
    6360    explicit QwtScaleDiv( double lowerBound, double upperBound,
    64         QList<double>[NTickTypes] );
     61        QList< double >[NTickTypes] );
    6562
    6663    explicit QwtScaleDiv( double lowerBound, double upperBound,
    67         const QList<double> &minorTicks, const QList<double> &mediumTicks,
    68         const QList<double> &majorTicks );
     64        const QList< double >& minorTicks, const QList< double >& mediumTicks,
     65        const QList< double >& majorTicks );
    6966
    70     bool operator==( const QwtScaleDiv & ) const;
    71     bool operator!=( const QwtScaleDiv & ) const;
     67    bool operator==( const QwtScaleDiv& ) const;
     68    bool operator!=( const QwtScaleDiv& ) const;
    7269
    7370    void setInterval( double lowerBound, double upperBound );
    74     void setInterval( const QwtInterval & );
     71    void setInterval( const QwtInterval& );
    7572    QwtInterval interval() const;
    7673
    … …  
    8582    bool contains( double value ) const;
    8683
    87     void setTicks( int tickType, const QList<double> & );
    88     QList<double> ticks( int tickType ) const;
     84    void setTicks( int tickType, const QList< double >& );
     85    QList< double > ticks( int tickType ) const;
    8986
    9087    bool isEmpty() const;
    … …  
    9693    QwtScaleDiv bounded( double lowerBound, double upperBound ) const;
    9794
    98 private:
    99     double d_lowerBound;
    100     double d_upperBound;
    101     QList<double> d_ticks[NTickTypes];
     95  private:
     96    double m_lowerBound;
     97    double m_upperBound;
     98    QList< double > m_ticks[NTickTypes];
    10299};
    103100
    … …  
    105102
    106103#ifndef QT_NO_DEBUG_STREAM
    107 QWT_EXPORT QDebug operator<<( QDebug, const QwtScaleDiv & );
     104QWT_EXPORT QDebug operator<<( QDebug, const QwtScaleDiv& );
    108105#endif
    109106
Note: See TracChangeset for help on using the changeset viewer.