diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-16 01:05:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-16 01:05:05 +0300 |
commit | c57791d0fc6833d2ec72a40400d9039030f7cc96 (patch) | |
tree | 4388032afb45573614239bd420a238c322421abd /src/gui/widgets/tabs | |
parent | 9bca06b1c7c121f410766ad99b91075902ce24c7 (diff) | |
download | manaplus-c57791d0fc6833d2ec72a40400d9039030f7cc96.tar.gz manaplus-c57791d0fc6833d2ec72a40400d9039030f7cc96.tar.bz2 manaplus-c57791d0fc6833d2ec72a40400d9039030f7cc96.tar.xz manaplus-c57791d0fc6833d2ec72a40400d9039030f7cc96.zip |
move widgetlistener from base into listeners.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setuptab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setuptab.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/tab.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/setuptab.cpp b/src/gui/widgets/tabs/setuptab.cpp index efead5a3c..6de77d7a0 100644 --- a/src/gui/widgets/tabs/setuptab.cpp +++ b/src/gui/widgets/tabs/setuptab.cpp @@ -27,7 +27,7 @@ SetupTab::SetupTab(const Widget2 *const widget) : Container(widget), ActionListener(), - gcn::WidgetListener(), + WidgetListener(), mName() { setOpaque(false); diff --git a/src/gui/widgets/tabs/setuptab.h b/src/gui/widgets/tabs/setuptab.h index 1621b0713..4d6049b6a 100644 --- a/src/gui/widgets/tabs/setuptab.h +++ b/src/gui/widgets/tabs/setuptab.h @@ -26,7 +26,7 @@ #include "gui/widgets/container.h" #include "listeners/actionlistener.h" -#include "gui/base/widgetlistener.hpp" +#include "listeners/widgetlistener.h" #include <string> @@ -37,7 +37,7 @@ */ class SetupTab : public Container, public ActionListener, - public gcn::WidgetListener + public WidgetListener { public: A_DELETE_COPY(SetupTab) diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp index 877329cf8..398802eb0 100644 --- a/src/gui/widgets/tabs/tab.cpp +++ b/src/gui/widgets/tabs/tab.cpp @@ -47,7 +47,7 @@ Tab::Tab(const Widget2 *const widget) : gcn::BasicContainer(), Widget2(widget), MouseListener(), - gcn::WidgetListener(), + WidgetListener(), mLabel(new Label(this)), mTabbedArea(nullptr), mTabColor(&getThemeColor(Theme::TAB)), diff --git a/src/gui/widgets/tabs/tab.h b/src/gui/widgets/tabs/tab.h index a67025842..ac10b7dc7 100644 --- a/src/gui/widgets/tabs/tab.h +++ b/src/gui/widgets/tabs/tab.h @@ -28,7 +28,7 @@ #include "gui/base/basiccontainer.hpp" #include "listeners/mouselistener.h" -#include "gui/base/widgetlistener.hpp" +#include "listeners/widgetlistener.h" #include "localconsts.h" @@ -43,7 +43,7 @@ class TabbedArea; class Tab : public gcn::BasicContainer, public Widget2, public MouseListener, - public gcn::WidgetListener + public WidgetListener { public: explicit Tab(const Widget2 *const widget); |