Mercurial > hg > svcore
comparison data/model/PathModel.h @ 1695:cd6be949a16a single-point
More compiler warning fixes
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 25 Apr 2019 17:06:33 +0100 |
parents | 0d89abd631ac |
children | 78fe29adfd16 |
comparison
equal
deleted
inserted
replaced
1694:a9d0b5a2c242 | 1695:cd6be949a16a |
---|---|
75 m_start(0), | 75 m_start(0), |
76 m_end(0) { | 76 m_end(0) { |
77 } | 77 } |
78 | 78 |
79 QString getTypeName() const override { return tr("Path"); } | 79 QString getTypeName() const override { return tr("Path"); } |
80 bool isSparse() const { return true; } | 80 bool isSparse() const override { return true; } |
81 bool isOK() const override { return true; } | 81 bool isOK() const override { return true; } |
82 | 82 |
83 sv_frame_t getStartFrame() const override { | 83 sv_frame_t getStartFrame() const override { |
84 return m_start; | 84 return m_start; |
85 } | 85 } |
88 } | 88 } |
89 | 89 |
90 sv_samplerate_t getSampleRate() const override { return m_sampleRate; } | 90 sv_samplerate_t getSampleRate() const override { return m_sampleRate; } |
91 int getResolution() const { return m_resolution; } | 91 int getResolution() const { return m_resolution; } |
92 | 92 |
93 int getCompletion() const { return m_completion; } | 93 int getCompletion() const override { return m_completion; } |
94 | 94 |
95 void setCompletion(int completion, bool update = true) { | 95 void setCompletion(int completion, bool update = true) { |
96 | 96 |
97 { QMutexLocker locker(&m_mutex); | 97 { QMutexLocker locker(&m_mutex); |
98 if (m_completion == completion) return; | 98 if (m_completion == completion) return; |