diff options
Diffstat (limited to 'src/keyevent.h')
-rw-r--r-- | src/keyevent.h | 18 |
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: |