summaryrefslogtreecommitdiff
path: root/src/keyevent.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-31 23:42:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-01 18:47:54 +0300
commited3410d7eb61593a2235ddba97ce257c85e405a6 (patch)
tree565c93ff291f70749cda2f59a4cc6fcd015ff203 /src/keyevent.cpp
parent386dac2875f4a5ad4a534c403338db3b26239a68 (diff)
downloadmanaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.gz
manaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.bz2
manaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.xz
manaplus-ed3410d7eb61593a2235ddba97ce257c85e405a6.zip
Add const to more classes.
Diffstat (limited to 'src/keyevent.cpp')
-rw-r--r--src/keyevent.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/keyevent.cpp b/src/keyevent.cpp
index ca8635626..eaac326e4 100644
--- a/src/keyevent.cpp
+++ b/src/keyevent.cpp
@@ -22,14 +22,14 @@
#include "debug.h"
-KeyEvent::KeyEvent(gcn::Widget* source,
- bool shiftPressed,
- bool controlPressed,
- bool altPressed,
- bool metaPressed,
- unsigned int type,
- bool numericPad,
- int actionId,
+KeyEvent::KeyEvent(gcn::Widget *const source,
+ const bool shiftPressed,
+ const bool controlPressed,
+ const bool altPressed,
+ const bool metaPressed,
+ const unsigned int type,
+ const bool numericPad,
+ const int actionId,
const gcn::Key& key) :
gcn::KeyEvent(source, shiftPressed, controlPressed, altPressed,
metaPressed, type, numericPad, key),