Add Slider::getMinValue and getMaxValue.

This commit is contained in:
David Capello 2011-02-24 18:13:00 -03:00
parent b0ff50ec0e
commit 26715e1a08
2 changed files with 4 additions and 7 deletions

View File

@ -54,11 +54,6 @@ void Slider::setValue(int value)
// It DOES NOT emit CHANGE signal! to avoid recursive calls.
}
int Slider::getValue() const
{
return m_value;
}
void Slider::getSliderThemeInfo(int* min, int* max, int* value)
{
if (min) *min = m_min;

View File

@ -15,10 +15,12 @@ class Slider : public Widget
public:
Slider(int min, int max, int value);
void setRange(int min, int max);
int getMinValue() const { return m_min; }
int getMaxValue() const { return m_max; }
int getValue() const { return m_value; }
void setRange(int min, int max);
void setValue(int value);
int getValue() const;
void getSliderThemeInfo(int* min, int* max, int* value);