diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-29 23:40:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-29 23:40:41 +0300 |
commit | 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch) | |
tree | 68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/gui/socialwindow.h | |
parent | 41044107cc0a17125ebd806c9934b6eb636dafe6 (diff) | |
download | manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2 manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/socialwindow.h')
-rw-r--r-- | src/gui/socialwindow.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/socialwindow.h b/src/gui/socialwindow.h index 246f3e127..0806c8d10 100644 --- a/src/gui/socialwindow.h +++ b/src/gui/socialwindow.h @@ -56,13 +56,13 @@ public: ~SocialWindow(); - bool addTab(Guild *guild); + bool addTab(Guild *const guild); - bool removeTab(Guild *guild); + bool removeTab(Guild *const guild); - bool addTab(Party *party); + bool addTab(Party *const party); - bool removeTab(Party *party); + bool removeTab(Party *const party); /** * Handle events. @@ -91,11 +91,11 @@ public: void updatePortalNames(); - int getPortalIndex(int x, int y); + int getPortalIndex(const int x, const int y); - void addPortal(int x, int y); + void addPortal(const int x, const int y); - void removePortal(int x, int y); + void removePortal(const int x, const int y); void nextTab(); @@ -104,16 +104,16 @@ public: Map* getMap() const { return mMap; } - void setMap(Map *map) + void setMap(Map *const map) { mMap = map; mProcessedPortals = false; } bool getProcessedPortals() const { return mProcessedPortals; } - void setProcessedPortals(bool n) + void setProcessedPortals(const bool n) { mProcessedPortals = n; } - void selectPortal(unsigned num); + void selectPortal(const unsigned num); void updateAttackFilter(); |