Mercurial > hg > svgui
comparison widgets/ProgressDialog.h @ 1406:a18e78b9c78b fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:52:27 +0000 |
parents | 05d12869043e |
children | 05d614f6e46d |
comparison
equal
deleted
inserted
replaced
1405:4c359c2b220c | 1406:a18e78b9c78b |
---|---|
30 int timeBeforeShow = 0, | 30 int timeBeforeShow = 0, |
31 QWidget *parent = 0, | 31 QWidget *parent = 0, |
32 Qt::WindowModality modality = Qt::NonModal); | 32 Qt::WindowModality modality = Qt::NonModal); |
33 virtual ~ProgressDialog(); | 33 virtual ~ProgressDialog(); |
34 | 34 |
35 virtual bool isDefinite() const; | 35 bool isDefinite() const override; |
36 virtual void setDefinite(bool definite); | 36 void setDefinite(bool definite) override; |
37 | 37 |
38 virtual bool wasCancelled() const; | 38 bool wasCancelled() const override; |
39 | 39 |
40 signals: | 40 signals: |
41 void showing(); | 41 void showing(); |
42 void cancelled(); | 42 void cancelled(); |
43 | 43 |
44 public slots: | 44 public slots: |
45 virtual void setMessage(QString text); | 45 void setMessage(QString text) override; |
46 virtual void setProgress(int percentage); | 46 void setProgress(int percentage) override; |
47 | 47 |
48 protected slots: | 48 protected slots: |
49 virtual void showTimerElapsed(); | 49 virtual void showTimerElapsed(); |
50 void canceled(); | 50 void canceled(); |
51 | 51 |