diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-22 01:44:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-22 01:44:36 +0300 |
commit | 2925b20acb9f70d032cd5981687642a770778c53 (patch) | |
tree | e9dd3bd137dd359b8a0845487520ac28f5e3bdb7 /src/gui | |
parent | ab0b6df9f69a736f79d2233508d8aa88b8e11800 (diff) | |
download | manaverse-2925b20acb9f70d032cd5981687642a770778c53.tar.gz manaverse-2925b20acb9f70d032cd5981687642a770778c53.tar.bz2 manaverse-2925b20acb9f70d032cd5981687642a770778c53.tar.xz manaverse-2925b20acb9f70d032cd5981687642a770778c53.zip |
Rename object event to depricatedevent because current implimentation very
bad and must be replaced with better implimentation.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/chatwindow.h | 2 | ||||
-rw-r--r-- | src/gui/inventorywindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/inventorywindow.h | 2 | ||||
-rw-r--r-- | src/gui/killstats.cpp | 4 | ||||
-rw-r--r-- | src/gui/killstats.h | 2 | ||||
-rw-r--r-- | src/gui/ministatuswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/ministatuswindow.h | 2 | ||||
-rw-r--r-- | src/gui/statuswindow.cpp | 4 | ||||
-rw-r--r-- | src/gui/statuswindow.h | 2 |
10 files changed, 12 insertions, 12 deletions
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); |