SliderSlider: Rename `value to new_value`

This commit is contained in:
Jonas Kvinge
2023-01-03 19:53:35 +01:00
parent 4ec028e736
commit 286b908062
2 changed files with 7 additions and 7 deletions

View File

@@ -37,8 +37,8 @@ class SliderSlider : public QSlider {
// WARNING non-virtual - and thus only really intended for internal use this is a major flaw in the class presently, however it suits our current needs fine
int value() const { return adjustValue(QSlider::value()); }
virtual void SetValue(const uint value);
virtual void setValue(int value);
virtual void SetValue(const uint new_value);
virtual void setValue(int new_value);
signals:
// We emit this when the user has specifically changed the slider so connect to it if valueChanged() is too generic Qt also emits valueChanged(int)