comparison base/Preferences.h @ 245:4cd620bd4c61 sv1-1.0pre1

* Make getPropertyRangeAndValue return the default separately from the current value. Previously some contexts were incorrectly treating the current value as a default.
author Chris Cannam
date Fri, 02 Mar 2007 14:00:12 +0000
parents 91fdc752e540
children d7eeffbb8aaf
comparison
equal deleted inserted replaced
244:85bf384db35f 245:4cd620bd4c61
28 static Preferences *getInstance(); 28 static Preferences *getInstance();
29 29
30 virtual PropertyList getProperties() const; 30 virtual PropertyList getProperties() const;
31 virtual QString getPropertyLabel(const PropertyName &) const; 31 virtual QString getPropertyLabel(const PropertyName &) const;
32 virtual PropertyType getPropertyType(const PropertyName &) const; 32 virtual PropertyType getPropertyType(const PropertyName &) const;
33 virtual int getPropertyRangeAndValue(const PropertyName &, int *, int *) const; 33 virtual int getPropertyRangeAndValue(const PropertyName &, int *, int *, int *) const;
34 virtual QString getPropertyValueLabel(const PropertyName &, int value) const; 34 virtual QString getPropertyValueLabel(const PropertyName &, int value) const;
35 virtual QString getPropertyContainerName() const; 35 virtual QString getPropertyContainerName() const;
36 virtual QString getPropertyContainerIconName() const; 36 virtual QString getPropertyContainerIconName() const;
37 37
38 bool getSmoothSpectrogram() const { return m_smoothSpectrogram; } 38 bool getSmoothSpectrogram() const { return m_smoothSpectrogram; }