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/itemcontainer.cpp | |
parent | c217b7141df580b686a0eef085bd0eb0a8e6771a (diff) | |
download | ManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.gz ManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.bz2 ManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.tar.xz ManaVerse-3dcf21babe03cee5080a25e787e1d7e72124288e.zip |
Add final keyword to most classes.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index aa254c30b..854d055d2 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -55,7 +55,7 @@ static const int BOX_WIDTH = 35; static const int BOX_HEIGHT = 43; -class ItemIdPair +class ItemIdPair final { public: ItemIdPair(const int id, Item *const item) : @@ -67,7 +67,7 @@ class ItemIdPair Item* mItem; }; -class SortItemAlphaFunctor +class SortItemAlphaFunctor final { public: bool operator() (const ItemIdPair *const pair1, @@ -81,7 +81,7 @@ class SortItemAlphaFunctor } } itemAlphaSorter; -class SortItemIdFunctor +class SortItemIdFunctor final { public: bool operator() (const ItemIdPair *const pair1, @@ -94,7 +94,7 @@ class SortItemIdFunctor } } itemIdSorter; -class SortItemWeightFunctor +class SortItemWeightFunctor final { public: bool operator() (const ItemIdPair *const pair1, @@ -114,7 +114,7 @@ class SortItemWeightFunctor } } itemWeightSorter; -class SortItemAmountFunctor +class SortItemAmountFunctor final { public: bool operator() (const ItemIdPair *const pair1, @@ -134,7 +134,7 @@ class SortItemAmountFunctor } } itemAmountSorter; -class SortItemTypeFunctor +class SortItemTypeFunctor final { public: bool operator() (const ItemIdPair *const pair1, |