diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 01:34:49 +0300 |
commit | 3dcf21babe03cee5080a25e787e1d7e72124288e (patch) | |
tree | 7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/gui/widgets/setupitem.h | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 mv-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz mv-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r-- | src/gui/widgets/setupitem.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h index f1ec4d23b..d8affadd1 100644 --- a/src/gui/widgets/setupitem.h +++ b/src/gui/widgets/setupitem.h @@ -129,7 +129,7 @@ class SetupItem : public gcn::ActionListener int mValueType; }; -class SetupItemCheckBox : public SetupItem +class SetupItemCheckBox final : public SetupItem { public: SetupItemCheckBox(std::string text, std::string description, @@ -153,7 +153,7 @@ class SetupItemCheckBox : public SetupItem CheckBox *mCheckBox; }; -class SetupItemTextField : public SetupItem +class SetupItemTextField final : public SetupItem { public: SetupItemTextField(std::string text, std::string description, @@ -186,7 +186,7 @@ class SetupItemTextField : public SetupItem EditDialog *mEditDialog; }; -class SetupItemIntTextField : public SetupItem +class SetupItemIntTextField final : public SetupItem { public: SetupItemIntTextField(std::string text, std::string description, @@ -225,7 +225,7 @@ class SetupItemIntTextField : public SetupItem EditDialog *mEditDialog; }; -class SetupItemLabel : public SetupItem +class SetupItemLabel final : public SetupItem { public: SetupItemLabel(std::string text, std::string description, @@ -249,7 +249,7 @@ class SetupItemLabel : public SetupItem bool mIsSeparator; }; -class SetupItemDropDown : public SetupItem +class SetupItemDropDown final : public SetupItem { public: SetupItemDropDown(std::string text, std::string description, @@ -277,7 +277,7 @@ class SetupItemDropDown : public SetupItem DropDown *mDropDown; }; -class SetupItemSlider : public SetupItem +class SetupItemSlider final : public SetupItem { public: SetupItemSlider(std::string text, std::string description, @@ -323,7 +323,7 @@ typedef std::vector<std::string> SetupItemNames; typedef SetupItemNames::iterator SetupItemNamesIter; typedef SetupItemNames::const_iterator SetupItemNamesConstIter; -class SetupItemSlider2 : public SetupItem +class SetupItemSlider2 final : public SetupItem { public: SetupItemSlider2(std::string text, std::string description, @@ -413,7 +413,7 @@ class SetupItemSliderList : public SetupItem bool mOnTheFly; }; -class SetupItemSound : public SetupItemSliderList +class SetupItemSound final : public SetupItemSliderList { public: SetupItemSound(std::string text, std::string description, |