summaryrefslogtreecommitdiff
path: root/src/keyevent.h
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.h
parent386dac2875f4a5ad4a534c403338db3b26239a68 (diff)
downloadmv-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.gz
mv-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.bz2
mv-ed3410d7eb61593a2235ddba97ce257c85e405a6.tar.xz
mv-ed3410d7eb61593a2235ddba97ce257c85e405a6.zip
Add const to more classes.
Diffstat (limited to 'src/keyevent.h')
-rw-r--r--src/keyevent.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/keyevent.h b/src/keyevent.h
index f562dc108..c57544e97 100644
--- a/src/keyevent.h
+++ b/src/keyevent.h
@@ -32,19 +32,19 @@
class KeyEvent : public gcn::KeyEvent
{
public:
- KeyEvent(gcn::Widget* source,
- bool shiftPressed,
- bool controlPressed,
- bool altPressed,
- bool metaPressed,
- unsigned int type,
- bool numericPad,
- int actionId,
+ 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);
virtual ~KeyEvent();
- int getActionId()
+ int getActionId() const
{ return mActionId; }
protected: