summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shoplistbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
commit5cbd0d2cb7086fda592c00dbc3b07d06af95f080 (patch)
treed36b4ac344f31f34311c7cb7a9a637ed48356e3e /src/gui/widgets/shoplistbox.h
parent4210163dae7d6266923ab11f78b631173c9533e3 (diff)
downloadmanaplus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.gz
manaplus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.bz2
manaplus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.xz
manaplus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.zip
Add const to more classes.
Diffstat (limited to 'src/gui/widgets/shoplistbox.h')
-rw-r--r--src/gui/widgets/shoplistbox.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/shoplistbox.h b/src/gui/widgets/shoplistbox.h
index 75598aa94..f34c8d772 100644
--- a/src/gui/widgets/shoplistbox.h
+++ b/src/gui/widgets/shoplistbox.h
@@ -41,12 +41,13 @@ class ShopListBox : public ListBox
/**
* Constructor.
*/
- ShopListBox(gcn::ListModel *listModel);
+ ShopListBox(gcn::ListModel *const listModel);
/**
* Constructor with shopitems
*/
- ShopListBox(gcn::ListModel *listModel, ShopItems *shopListModel);
+ ShopListBox(gcn::ListModel *const listModel,
+ ShopItems *const shopListModel);
/**
* Draws the list box.
@@ -62,7 +63,7 @@ class ShopListBox : public ListBox
/**
* gives information about the current player's money
*/
- void setPlayersMoney(int money);
+ void setPlayersMoney(const int money);
/**
* Adjust List draw size
@@ -73,7 +74,7 @@ class ShopListBox : public ListBox
* Set on/off the disabling of too expensive items.
* (Good for selling mode.)
*/
- void setPriceCheck(bool check);
+ void setPriceCheck(const bool check);
void mouseMoved(gcn::MouseEvent &event);