diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:47:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:47:57 +0300 |
commit | b226f23946987a649fb50bc6d9df2dd8afa7ade1 (patch) | |
tree | 25dc0c5e10d9db78d1eb463b3c98070ccc89a8bb /src/gui/widgets/setupitem.h | |
parent | 1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff) | |
download | manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.gz manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.bz2 manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.xz manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.zip |
Add const attribute to gui classes.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r-- | src/gui/widgets/setupitem.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h index cc7a04044..d4bca35bd 100644 --- a/src/gui/widgets/setupitem.h +++ b/src/gui/widgets/setupitem.h @@ -91,7 +91,7 @@ class SetupItem notfinal : public ActionListener, virtual void externalUpdated(const std::string &eventName); - virtual void externalUnloaded(const std::string &eventName); + virtual void externalUnloaded(const std::string &eventName) A_CONST; MainConfig isMainConfig() const A_WARN_UNUSED { return mMainConfig; } @@ -295,13 +295,13 @@ class SetupItemLabel final : public SetupItem void createControls(); - void fromWidget() override final; + void fromWidget() override final A_CONST; - void toWidget() override final; + void toWidget() override final A_CONST; - void action(const ActionEvent &event) override final; + void action(const ActionEvent &event) override final A_CONST; - void apply(const std::string &eventName) override final; + void apply(const std::string &eventName) override final A_CONST; protected: Label *mLabel; |