From c91e3039d4f4338b820f3f27d1f694fe0c021b21 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Thu, 18 Apr 2019 16:11:05 +0200 Subject: [PATCH] making some getters public --- src/common/QskGradient.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/QskGradient.h b/src/common/QskGradient.h index ac1cc7c0..18b5b476 100644 --- a/src/common/QskGradient.h +++ b/src/common/QskGradient.h @@ -108,12 +108,12 @@ class QSK_EXPORT QskGradient uint hash( uint seed ) const; + qreal stopAt( int index ) const; + QColor colorAt( int index ) const; + private: void setStopAt( int index, qreal stop ); - qreal stopAt( int index ) const; - void setColorAt( int index, const QColor& color ); - QColor colorAt( int index ) const; Orientation m_orientation; QVector< QskGradientStop > m_stops;