diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-27 14:50:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-27 14:50:47 +0300 |
commit | 744b6e62e1252ca50445b21f671ad8d81dd28ea1 (patch) | |
tree | 79adc9663a740ed471e33c97932ce6b28de11377 /src/gui/windows/killstats.h | |
parent | 2ee2f8b060e4fe88feeeba5508189c916e55a70d (diff) | |
download | ManaVerse-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.gz ManaVerse-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.bz2 ManaVerse-744b6e62e1252ca50445b21f671ad8d81dd28ea1.tar.xz ManaVerse-744b6e62e1252ca50445b21f671ad8d81dd28ea1.zip |
Add AttributeListener.
Diffstat (limited to 'src/gui/windows/killstats.h')
-rw-r--r-- | src/gui/windows/killstats.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/windows/killstats.h b/src/gui/windows/killstats.h index 26e30e9eb..1e2da9ada 100644 --- a/src/gui/windows/killstats.h +++ b/src/gui/windows/killstats.h @@ -24,7 +24,7 @@ #define GUI_WINDOWS_KILLSTATS_H #include "listeners/actionlistener.h" -#include "listeners/depricatedlistener.h" +#include "listeners/attributelistener.h" #include "gui/widgets/window.h" @@ -32,8 +32,8 @@ class Label; class Button; class KillStats final : public Window, - private ActionListener, - public DepricatedListener + public ActionListener, + public AttributeListener { public: /** @@ -75,11 +75,12 @@ class KillStats final : public Window, void jackoAlive(const int id); - void processEvent(const Channels channel A_UNUSED, - const DepricatedEvent &event) override; - void resetTimes(); + void attributeChanged(const int id, + const int oldVal, + const int newVal) override final; + private: void validateJacko(); |