Mercurial > hg > svapp
comparison audio/PlaySpeedRangeMapper.h @ 634:163573a73ebe fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:53:26 +0000 |
parents | 56acd9368532 |
children | 26a0cb8335e3 |
comparison
equal
deleted
inserted
replaced
633:4612d44ae753 | 634:163573a73ebe |
---|---|
24 PlaySpeedRangeMapper(); | 24 PlaySpeedRangeMapper(); |
25 | 25 |
26 int getMinPosition() const { return m_minpos; } | 26 int getMinPosition() const { return m_minpos; } |
27 int getMaxPosition() const { return m_maxpos; } | 27 int getMaxPosition() const { return m_maxpos; } |
28 | 28 |
29 virtual int getPositionForValue(double value) const; | 29 int getPositionForValue(double value) const override; |
30 virtual int getPositionForValueUnclamped(double value) const; | 30 int getPositionForValueUnclamped(double value) const override; |
31 | 31 |
32 virtual double getValueForPosition(int position) const; | 32 double getValueForPosition(int position) const override; |
33 virtual double getValueForPositionUnclamped(int position) const; | 33 double getValueForPositionUnclamped(int position) const override; |
34 | 34 |
35 int getPositionForFactor(double factor) const; | 35 int getPositionForFactor(double factor) const; |
36 double getValueForFactor(double factor) const; | 36 double getValueForFactor(double factor) const; |
37 | 37 |
38 double getFactorForPosition(int position) const; | 38 double getFactorForPosition(int position) const; |
39 double getFactorForValue(double value) const; | 39 double getFactorForValue(double value) const; |
40 | 40 |
41 virtual QString getUnit() const; | 41 QString getUnit() const override; |
42 | 42 |
43 protected: | 43 protected: |
44 int m_minpos; | 44 int m_minpos; |
45 int m_maxpos; | 45 int m_maxpos; |
46 }; | 46 }; |