diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-11 13:15:49 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-11 13:15:49 +0100 |
commit | caa8c6f2dc8bbf8eca0e6fe137d0654104601690 (patch) | |
tree | 9e1ed53e686286b0a485e203e19b2822e72041e0 /barchart.h | |
parent | 59e669b97657e97e4aeaf7e499d9a0f5b3e27ff6 (diff) |
BarChart: Added const to relevant method(s).
Diffstat (limited to 'barchart.h')
-rw-r--r-- | barchart.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ public: ~BarChart(); signals: - void valuesChanged(const arma::vec &values); + void valuesChanged(const arma::vec &values) const; public slots: void setValues(const arma::vec &values); @@ -23,7 +23,7 @@ protected: void mousePressEvent(QMouseEvent *event); private: - QSGNode *newBarNode(); + QSGNode *newBarNode() const; void updateBarNodeGeom(QSGNode *barNode, float x, float width, float height); void updateBars(QSGNode *root); |