diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-16 12:47:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-16 12:47:15 +0300 |
commit | 3ae82048ca8636ce03e71bdd4c11f60594cfc698 (patch) | |
tree | 51d344c3baeaa586fdfc8fc913c7863558b99093 /src/gui/widgets/tabbedarea.cpp | |
parent | 0d73f54f842a9690c65faedf094112017fd07430 (diff) | |
download | mv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.gz mv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.bz2 mv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.tar.xz mv-3ae82048ca8636ce03e71bdd4c11f60594cfc698.zip |
move event into events directory.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index 500e821f5..2fe4f1332 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -72,7 +72,7 @@ TabbedArea::TabbedArea(const Widget2 *const widget) : void TabbedArea::postInit() { - widgetResized(gcn::Event(nullptr)); + widgetResized(Event(nullptr)); } TabbedArea::~TabbedArea() @@ -365,7 +365,7 @@ void TabbedArea::setSelectedTab(Tab *const tab) if (newTab) newTab->setCurrent(); - widgetResized(gcn::Event(nullptr)); + widgetResized(Event(nullptr)); } int TabbedArea::getSelectedTabIndex() const @@ -392,7 +392,7 @@ void TabbedArea::setSelectedTabByName(const std::string &name) } } -void TabbedArea::widgetResized(const gcn::Event &event A_UNUSED) +void TabbedArea::widgetResized(const Event &event A_UNUSED) { adjustSize(); @@ -716,7 +716,7 @@ void TabbedArea::keyPressed(gcn::KeyEvent& keyEvent) } } -void TabbedArea::death(const gcn::Event &event) +void TabbedArea::death(const Event &event) { Tab *const tab = dynamic_cast<Tab*>(event.getSource()); |