summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-22 01:44:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-22 01:44:36 +0300
commit2925b20acb9f70d032cd5981687642a770778c53 (patch)
treee9dd3bd137dd359b8a0845487520ac28f5e3bdb7 /src/gui
parentab0b6df9f69a736f79d2233508d8aa88b8e11800 (diff)
downloadmv-2925b20acb9f70d032cd5981687642a770778c53.tar.gz
mv-2925b20acb9f70d032cd5981687642a770778c53.tar.bz2
mv-2925b20acb9f70d032cd5981687642a770778c53.tar.xz
mv-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.cpp2
-rw-r--r--src/gui/chatwindow.h2
-rw-r--r--src/gui/inventorywindow.cpp2
-rw-r--r--src/gui/inventorywindow.h2
-rw-r--r--src/gui/killstats.cpp4
-rw-r--r--src/gui/killstats.h2
-rw-r--r--src/gui/ministatuswindow.cpp2
-rw-r--r--src/gui/ministatuswindow.h2
-rw-r--r--src/gui/statuswindow.cpp4
-rw-r--r--src/gui/statuswindow.h2
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);