summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 01:34:49 +0300
commit3dcf21babe03cee5080a25e787e1d7e72124288e (patch)
tree7051c6beddd3e7e1de960bb84e46601db8e2e5c4 /src/gui/setup_theme.cpp
parentc217b7141df580b686a0eef085bd0eb0a8e6771a (diff)
downloadmv-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/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index ddfd52291..4a8a1f296 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -52,7 +52,7 @@ const char* ACTION_HELP_FONT = "help font";
const char* ACTION_SECURE_FONT = "secure font";
const char* ACTION_JAPAN_FONT = "japan font";
-class ThemesModel : public NamesModel
+class ThemesModel final : public NamesModel
{
public:
ThemesModel() :
@@ -66,7 +66,7 @@ public:
{ }
};
-class FontsModel : public NamesModel
+class FontsModel final : public NamesModel
{
public:
FontsModel() :
@@ -94,7 +94,7 @@ const char *SIZE_NAME[maxFontSizes] =
N_("Very huge (19)"),
};
-class FontSizeChoiceListModel : public gcn::ListModel
+class FontSizeChoiceListModel final : public gcn::ListModel
{
public:
virtual ~FontSizeChoiceListModel()
@@ -112,10 +112,9 @@ public:
}
};
-struct Language
+struct Language final
{
std::string name;
-
std::string value;
};
@@ -141,7 +140,7 @@ const Language LANG_NAME[langs_count] =
{N_("Spanish (Castilian)"), "es_ES"}
};
-class LangListModel : public gcn::ListModel
+class LangListModel final : public gcn::ListModel
{
public:
virtual ~LangListModel()