diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-27 21:18:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-27 21:44:17 +0300 |
commit | 7c79aa2b8e484319e3e511fa21db6d2448347024 (patch) | |
tree | 3c4fb4e72414dd8c0d93401a6bf2cc86b65a34a0 /src/gui/itemamountwindow.h | |
parent | de476bb95242e10c833394ef007728072eabe60f (diff) | |
download | mv-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.gz mv-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.bz2 mv-7c79aa2b8e484319e3e511fa21db6d2448347024.tar.xz mv-7c79aa2b8e484319e3e511fa21db6d2448347024.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/itemamountwindow.h')
-rw-r--r-- | src/gui/itemamountwindow.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/itemamountwindow.h b/src/gui/itemamountwindow.h index 0e692dac2..c06d9a618 100644 --- a/src/gui/itemamountwindow.h +++ b/src/gui/itemamountwindow.h @@ -86,16 +86,17 @@ class ItemAmountWindow : public Window, /** * Creates the dialog, or bypass it if there aren't enough items. */ - static void showWindow(Usage usage, Window *parent, Item *item, - int maxRange = 0); + static void showWindow(const Usage usage, Window *const parent, + Item *const item, int maxRange = 0); ~ItemAmountWindow(); private: - static void finish(Item *item, int amount, int price, Usage usage); + static void finish(Item *const item, const int amount, + const int price, const Usage usage); - ItemAmountWindow(Usage usage, Window *parent, Item *item, - int maxRange = 0); + ItemAmountWindow(const Usage usage, Window *const parent, + Item *const item, const int maxRange = 0); IntTextField *mItemAmountTextField; /**< Item amount caption. */ IntTextField *mItemPriceTextField; /**< Item price caption. */ |