comparison layer/SpectrumLayer.h @ 1406:a18e78b9c78b fix-static-analysis

Use override throughout
author Chris Cannam
date Mon, 26 Nov 2018 13:52:27 +0000
parents 10e768adaee5
children 696e569ff21b
comparison
equal deleted inserted replaced
1405:4c359c2b220c 1406:a18e78b9c78b
99 WindowType getWindowType() const { return m_windowType; } 99 WindowType getWindowType() const { return m_windowType; }
100 100
101 void setShowPeaks(bool); 101 void setShowPeaks(bool);
102 bool getShowPeaks() const { return m_showPeaks; } 102 bool getShowPeaks() const { return m_showPeaks; }
103 103
104 virtual bool needsTextLabelHeight() const { return true; } 104 bool needsTextLabelHeight() const override { return true; }
105 105
106 virtual void toXml(QTextStream &stream, QString indent = "", 106 virtual void toXml(QTextStream &stream, QString indent = "",
107 QString extraAttributes = "") const override; 107 QString extraAttributes = "") const override;
108 108
109 virtual double getFrequencyForX(const LayerGeometryProvider *, double x) 109 virtual double getFrequencyForX(const LayerGeometryProvider *, double x)