Mercurial > hg > svcore
comparison base/PropertyContainer.h @ 1580:c01cbe41aeb5 fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:48:45 +0000 |
parents | 48e9f538e6e9 |
children | 77543124651b |
comparison
equal
deleted
inserted
replaced
1579:232d6ddf257d | 1580:c01cbe41aeb5 |
---|---|
160 { | 160 { |
161 public: | 161 public: |
162 SetPropertyCommand(PropertyContainer *pc, const PropertyName &pn, int); | 162 SetPropertyCommand(PropertyContainer *pc, const PropertyName &pn, int); |
163 virtual ~SetPropertyCommand() { } | 163 virtual ~SetPropertyCommand() { } |
164 | 164 |
165 virtual void execute(); | 165 void execute() override; |
166 virtual void unexecute(); | 166 void unexecute() override; |
167 virtual QString getName() const; | 167 QString getName() const override; |
168 | 168 |
169 protected: | 169 protected: |
170 PropertyContainer *m_pc; | 170 PropertyContainer *m_pc; |
171 PropertyName m_pn; | 171 PropertyName m_pn; |
172 int m_value; | 172 int m_value; |