From b226f23946987a649fb50bc6d9df2dd8afa7ade1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:47:57 +0300 Subject: Add const attribute to gui classes. --- src/gui/widgets/setupbuttonitem.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/gui/widgets/setupbuttonitem.h') diff --git a/src/gui/widgets/setupbuttonitem.h b/src/gui/widgets/setupbuttonitem.h index af843025c..653d3e28d 100644 --- a/src/gui/widgets/setupbuttonitem.h +++ b/src/gui/widgets/setupbuttonitem.h @@ -43,22 +43,23 @@ class SetupButtonItem 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; - 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; protected: HorizontContainer *mHorizont; -- cgit v1.2.3-70-g09d2