diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:41:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:41:05 +0300 |
commit | ec51be4fd71babf30a73332bc4b73edb994ee462 (patch) | |
tree | 0199da5c75066083b4287204d3532f69420764eb /src/events | |
parent | 7969f0590204ac48d74e98c3211bca27693bac44 (diff) | |
download | manaplus-ec51be4fd71babf30a73332bc4b73edb994ee462.tar.gz manaplus-ec51be4fd71babf30a73332bc4b73edb994ee462.tar.bz2 manaplus-ec51be4fd71babf30a73332bc4b73edb994ee462.tar.xz manaplus-ec51be4fd71babf30a73332bc4b73edb994ee462.zip |
Convert KeyEvent enum into strong typed enum.
Diffstat (limited to 'src/events')
-rw-r--r-- | src/events/keyevent.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/events/keyevent.h b/src/events/keyevent.h index 3cad1bce2..9f0a54972 100644 --- a/src/events/keyevent.h +++ b/src/events/keyevent.h @@ -88,7 +88,7 @@ class KeyEvent: public InputGuiEvent * @param key The key of the event. */ KeyEvent(Widget *const source, - KeyEventType::Type type, + KeyEventTypeT type, const int actionId, const Key &key) : InputGuiEvent(source), @@ -111,7 +111,7 @@ class KeyEvent: public InputGuiEvent * * @return The type of the event. */ - KeyEventType::Type getType() const A_WARN_UNUSED + KeyEventTypeT getType() const A_WARN_UNUSED { return mType; } /** @@ -146,7 +146,7 @@ class KeyEvent: public InputGuiEvent /** * Holds the type of the key event. */ - KeyEventType::Type mType; + KeyEventTypeT mType; int mActionId; }; |