summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-02 12:44:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-02 12:44:30 +0300
commit892424cc005d41b8976ae9193a3a4161b5c1950f (patch)
tree6b1cde86aeba82405e87526982910133007d1c52 /src/gui/widgets/widget.h
parent8aa68056aec80c775a3ddb152bea8a90a7097199 (diff)
downloadmv-892424cc005d41b8976ae9193a3a4161b5c1950f.tar.gz
mv-892424cc005d41b8976ae9193a3a4161b5c1950f.tar.bz2
mv-892424cc005d41b8976ae9193a3a4161b5c1950f.tar.xz
mv-892424cc005d41b8976ae9193a3a4161b5c1950f.zip
Rename DeathListener into WidgetDeathListener.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 8109d142d..c4d30e492 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -76,7 +76,7 @@
#include "localconsts.h"
class ActionListener;
-class DeathListener;
+class WidgetDeathListener;
class FocusHandler;
class FocusListener;
class Font;
@@ -532,7 +532,7 @@ class Widget notfinal : public Widget2
* @see removeDeathListener
* @since 0.1.0
*/
- void addDeathListener(DeathListener *const deathListener);
+ void addDeathListener(WidgetDeathListener *const deathListener);
/**
* Removes an added death listener from the widget.
@@ -541,7 +541,7 @@ class Widget notfinal : public Widget2
* @see addDeathListener
* @since 0.1.0
*/
- void removeDeathListener(DeathListener *const deathListener);
+ void removeDeathListener(WidgetDeathListener *const deathListener);
/**
* Adds a mouse listener to the widget. When a mouse event is
@@ -1112,17 +1112,17 @@ class Widget notfinal : public Widget2
/**
* Typdef.
*/
- typedef std::list<DeathListener*> DeathListenerList;
+ typedef std::list<WidgetDeathListener*> WidgetDeathListenerList;
/**
* Holds the death listeners of the widget.
*/
- DeathListenerList mDeathListeners;
+ WidgetDeathListenerList mDeathListeners;
/**
* Typdef.
*/
- typedef DeathListenerList::iterator DeathListenerIterator;
+ typedef WidgetDeathListenerList::iterator WidgetDeathListenerIterator;
/**
* Typdef.