From ed3410d7eb61593a2235ddba97ce257c85e405a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 31 Aug 2012 23:42:43 +0300 Subject: Add const to more classes. --- src/keyevent.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/keyevent.h') 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: -- cgit v1.2.3-70-g09d2