summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
commit67a349cefcb72c7770b98bf645a7eca35695bb2b (patch)
tree07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/setupitem.h
parent7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff)
downloadplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index f566d6db0..0f6b5d392 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -155,9 +155,9 @@ class SetupItemCheckBox final : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
protected:
CheckBox *mCheckBox;
@@ -187,13 +187,13 @@ class SetupItemTextField final : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
- void apply(const std::string &eventName) override;
+ void apply(const std::string &eventName) override final;
protected:
HorizontContainer *mHorizont;
@@ -229,13 +229,13 @@ class SetupItemIntTextField final : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
- void apply(const std::string &eventName) override;
+ void apply(const std::string &eventName) override final;
protected:
HorizontContainer *mHorizont;
@@ -261,13 +261,13 @@ class SetupItemLabel final : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
- void apply(const std::string &eventName) override;
+ void apply(const std::string &eventName) override final;
protected:
Label *mLabel;
@@ -300,9 +300,9 @@ class SetupItemDropDown final : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
protected:
HorizontContainer *mHorizont;
@@ -340,13 +340,13 @@ class SetupItemSlider final : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
- void apply(const std::string &eventName) override;
+ void apply(const std::string &eventName) override final;
void updateLabel();
@@ -396,13 +396,13 @@ class SetupItemSlider2 final : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
- void apply(const std::string &eventName) override;
+ void apply(const std::string &eventName) override final;
void setInvertValue(const int v);
@@ -433,13 +433,13 @@ class SetupItemSliderList : public SetupItem
void createControls();
- void fromWidget() override;
+ void fromWidget() override final;
- void toWidget() override;
+ void toWidget() override final;
virtual void action(const gcn::ActionEvent &event) override;
- void apply(const std::string &eventName) override;
+ void apply(const std::string &eventName) override final;
virtual void addMoreControls() = 0;
@@ -486,9 +486,9 @@ class SetupItemSound final : public SetupItemSliderList
A_DELETE_COPY(SetupItemSound)
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
- void addMoreControls() override;
+ void addMoreControls() override final;
protected:
Button *mButton;