missing const specifier added

This commit is contained in:
Uwe Rathmann 2021-01-20 16:39:15 +01:00
parent df10f402ed
commit a213d50170
6 changed files with 6 additions and 6 deletions

View File

@ -484,7 +484,7 @@ bool QskGridBox::event( QEvent* event )
return Inherited::event( event ); return Inherited::event( event );
} }
void QskGridBox::dump() void QskGridBox::dump() const
{ {
const auto& engine = m_data->engine; const auto& engine = m_data->engine;

View File

@ -86,7 +86,7 @@ class QSK_EXPORT QskGridBox : public QskBox
Q_INVOKABLE void setRowFixedHeight( int row, qreal height ); Q_INVOKABLE void setRowFixedHeight( int row, qreal height );
Q_INVOKABLE void setColumnFixedWidth( int column, qreal width ); Q_INVOKABLE void setColumnFixedWidth( int column, qreal width );
void dump(); void dump() const;
public Q_SLOTS: public Q_SLOTS:
void invalidate(); void invalidate();

View File

@ -529,7 +529,7 @@ int QskLinearBox::stretchFactor( const QQuickItem* item ) const
return stretchFactor( indexOf( item ) ); return stretchFactor( indexOf( item ) );
} }
void QskLinearBox::dump() void QskLinearBox::dump() const
{ {
const auto& engine = m_data->engine; const auto& engine = m_data->engine;

View File

@ -84,7 +84,7 @@ class QSK_EXPORT QskLinearBox : public QskIndexedLayoutBox
void setStretchFactor( const QQuickItem*, int stretchFactor ); void setStretchFactor( const QQuickItem*, int stretchFactor );
int stretchFactor( const QQuickItem* ) const; int stretchFactor( const QQuickItem* ) const;
void dump(); void dump() const;
public Q_SLOTS: public Q_SLOTS:
void transpose(); void transpose();

View File

@ -417,7 +417,7 @@ bool QskStackBox::event( QEvent* event )
return Inherited::event( event ); return Inherited::event( event );
} }
void QskStackBox::dump() void QskStackBox::dump() const
{ {
auto debug = qDebug(); auto debug = qDebug();

View File

@ -55,7 +55,7 @@ class QSK_EXPORT QskStackBox : public QskIndexedLayoutBox
QRectF geometryForItemAt( int index ) const; QRectF geometryForItemAt( int index ) const;
void dump(); void dump() const;
Q_SIGNALS: Q_SIGNALS:
void defaultAlignmentChanged( Qt::Alignment ); void defaultAlignmentChanged( Qt::Alignment );