From 2925b20acb9f70d032cd5981687642a770778c53 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Mar 2012 01:44:36 +0300 Subject: Rename object event to depricatedevent because current implimentation very bad and must be replaced with better implimentation. --- src/gui/chatwindow.cpp | 2 +- src/gui/chatwindow.h | 2 +- src/gui/inventorywindow.cpp | 2 +- src/gui/inventorywindow.h | 2 +- src/gui/killstats.cpp | 4 ++-- src/gui/killstats.h | 2 +- src/gui/ministatuswindow.cpp | 2 +- src/gui/ministatuswindow.h | 2 +- src/gui/statuswindow.cpp | 4 ++-- src/gui/statuswindow.h | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/gui') diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index d651df87b..674c34039 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -869,7 +869,7 @@ void ChatWindow::keyPressed(gcn::KeyEvent &event) addInputText(Temp, false); } -void ChatWindow::processEvent(Channels channel, const Event &event) +void ChatWindow::processEvent(Channels channel, const DepricatedEvent &event) { if (channel == CHANNEL_NOTICES) { diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h index b3dce33fc..aa56237a2 100644 --- a/src/gui/chatwindow.h +++ b/src/gui/chatwindow.h @@ -190,7 +190,7 @@ class ChatWindow : public Window, */ void mousePressed(gcn::MouseEvent &event); - void processEvent(Channels channel, const Event &event); + void processEvent(Channels channel, const DepricatedEvent &event); /** * Scrolls the chat window diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 98d029be4..c3d5460ce 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -575,7 +575,7 @@ void InventoryWindow::close() } void InventoryWindow::processEvent(Channels channel A_UNUSED, - const Event &event) + const DepricatedEvent &event) { if (event.getName() == EVENT_UPDATEATTRIBUTE) { diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index a1ecd104c..47194b909 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -126,7 +126,7 @@ class InventoryWindow : public Window, void updateDropButton(); - void processEvent(Channels channel, const Event &event); + void processEvent(Channels channel, const DepricatedEvent &event); void updateButtons(Item *item = nullptr); diff --git a/src/gui/killstats.cpp b/src/gui/killstats.cpp index e563b8c7c..9fcc64ad3 100644 --- a/src/gui/killstats.cpp +++ b/src/gui/killstats.cpp @@ -32,7 +32,7 @@ #include "gui/chatwindow.h" #include "actorspritemanager.h" -#include "event.h" +#include "depricatedevent.h" #include "localplayer.h" #include "playerinfo.h" @@ -438,7 +438,7 @@ void KillStats::validateJacko() } void KillStats::processEvent(Channels channel A_UNUSED, - const Event &event) + const DepricatedEvent &event) { if (event.getName() == EVENT_UPDATEATTRIBUTE) { diff --git a/src/gui/killstats.h b/src/gui/killstats.h index 67c2967e3..e1528523d 100644 --- a/src/gui/killstats.h +++ b/src/gui/killstats.h @@ -78,7 +78,7 @@ class KillStats : public Window, gcn::ActionListener, public Listener void addLog(std::string str); void processEvent(Channels channel A_UNUSED, - const Event &event); + const DepricatedEvent &event); private: void validateJacko(); diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp index aaccd36c8..219c319a5 100644 --- a/src/gui/ministatuswindow.cpp +++ b/src/gui/ministatuswindow.cpp @@ -219,7 +219,7 @@ void MiniStatusWindow::drawIcons(Graphics *graphics) } void MiniStatusWindow::processEvent(Channels channel A_UNUSED, - const Event &event) + const DepricatedEvent &event) { if (event.getName() == EVENT_UPDATEATTRIBUTE) { diff --git a/src/gui/ministatuswindow.h b/src/gui/ministatuswindow.h index eb6ded7dd..dfc945689 100644 --- a/src/gui/ministatuswindow.h +++ b/src/gui/ministatuswindow.h @@ -59,7 +59,7 @@ class MiniStatusWindow : public Popup, void drawIcons(Graphics *graphics); - void processEvent(Channels channel, const Event &event); + void processEvent(Channels channel, const DepricatedEvent &event); void updateStatus(); diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 1964b974d..b1dade7d0 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -24,7 +24,7 @@ #include "chatwindow.h" #include "configuration.h" -#include "event.h" +#include "depricatedevent.h" #include "equipment.h" #include "inventory.h" #include "item.h" @@ -284,7 +284,7 @@ StatusWindow::StatusWindow(): } void StatusWindow::processEvent(Channels channel A_UNUSED, - const Event &event) + const DepricatedEvent &event) { static bool blocked = false; if (blocked) diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h index 7f6bd2d18..c477a0099 100644 --- a/src/gui/statuswindow.h +++ b/src/gui/statuswindow.h @@ -52,7 +52,7 @@ class StatusWindow : public Window, */ StatusWindow(); - void processEvent(Channels channel, const Event &event); + void processEvent(Channels channel, const DepricatedEvent &event); void setPointsNeeded(int id, int needed); -- cgit v1.2.3-70-g09d2