Changeset 11158 in ntrip for trunk/BNC/qwt/qwt_pixel_matrix.cpp


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_pixel_matrix.cpp

    r8127 r11158  
    1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
     1/******************************************************************************
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    … …  
    1111
    1212/*!
    13   \brief Constructor
     13   \brief Constructor
    1414
    15   \param rect Bounding rectangle for the matrix
    16 */
    17 QwtPixelMatrix::QwtPixelMatrix( const QRect& rect ):
    18     QBitArray( qMax( rect.width() * rect.height(), 0 ) ),
    19     d_rect( rect )
     15   \param rect Bounding rectangle for the matrix
     16 */
     17QwtPixelMatrix::QwtPixelMatrix( const QRect& rect )
     18    : QBitArray( qMax( rect.width() * rect.height(), 0 ) )
     19    , m_rect( rect )
    2020{
    2121}
    … …  
    3535void QwtPixelMatrix::setRect( const QRect& rect )
    3636{
    37     if ( rect != d_rect )
     37    if ( rect != m_rect )
    3838    {
    39         d_rect = rect;
     39        m_rect = rect;
    4040        const int sz = qMax( rect.width() * rect.height(), 0 );
    4141        resize( sz );
    … …  
    4848QRect QwtPixelMatrix::rect() const
    4949{
    50     return d_rect;
     50    return m_rect;
    5151}
Note: See TracChangeset for help on using the changeset viewer.