summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupquickitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
commitb226f23946987a649fb50bc6d9df2dd8afa7ade1 (patch)
tree25dc0c5e10d9db78d1eb463b3c98070ccc89a8bb /src/gui/widgets/setupquickitem.h
parent1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff)
downloadmv-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.gz
mv-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.bz2
mv-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.xz
mv-b226f23946987a649fb50bc6d9df2dd8afa7ade1.zip
Add const attribute to gui classes.
Diffstat (limited to 'src/gui/widgets/setupquickitem.h')
-rw-r--r--src/gui/widgets/setupquickitem.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/widgets/setupquickitem.h b/src/gui/widgets/setupquickitem.h
index 70db34131..b19ead347 100644
--- a/src/gui/widgets/setupquickitem.h
+++ b/src/gui/widgets/setupquickitem.h
@@ -49,22 +49,23 @@ class SetupQuickItem final : public SetupItem,
void createControls();
- void fromWidget() override final;
+ void fromWidget() override final A_CONST;
void toWidget() override final;
void action(const ActionEvent &event) override final;
- void apply(const std::string &eventName) override final;
+ void apply(const std::string &eventName) override final A_CONST;
- void cancel(const std::string &eventName A_UNUSED) override final;
+ void cancel(const std::string &eventName A_UNUSED) override final
+ A_CONST;
void externalUpdated(const std::string &eventName A_UNUSED)
- override final;
+ override final A_CONST;
- void rereadValue() override final;
+ void rereadValue() override final A_CONST;
- void save() override final;
+ void save() override final A_CONST;
void gameModifiersChanged() override final;