diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-03 21:58:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-04 03:06:57 +0300 |
commit | 866a71ffd576fd10c4e309195016d86f0c8ed635 (patch) | |
tree | 21bbec175afc181cada529598267d62f12fcb671 /src/spellshortcut.h | |
parent | ebecb0cf42f2066943908fa158ac91527e0e6629 (diff) | |
download | mv-866a71ffd576fd10c4e309195016d86f0c8ed635.tar.gz mv-866a71ffd576fd10c4e309195016d86f0c8ed635.tar.bz2 mv-866a71ffd576fd10c4e309195016d86f0c8ed635.tar.xz mv-866a71ffd576fd10c4e309195016d86f0c8ed635.zip |
Add const to more classes.
Diffstat (limited to 'src/spellshortcut.h')
-rw-r--r-- | src/spellshortcut.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spellshortcut.h b/src/spellshortcut.h index 7e17c9f57..b26211fc4 100644 --- a/src/spellshortcut.h +++ b/src/spellshortcut.h @@ -55,7 +55,7 @@ class SpellShortcut * * @param itemId The ID of the item that is to be assigned. */ - void setItemSelected(int itemId) + void setItemSelected(const int itemId) { mItemSelected = itemId; } /** @@ -75,7 +75,7 @@ class SpellShortcut * * @param index Index of the shortcut item. */ - int getItem(int index) const + int getItem(const int index) const { return mItems[index]; } private: |