summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 15:18:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 15:23:11 +0300
commita9a838708956e001461c6d835d228aad8ce30902 (patch)
treeb0227578856a4663578ede002d977cc112258364 /src/gui/widgets
parent36c98f4e483ec0a9fc831d8a5938b7a3a72c1a9b (diff)
downloadmv-a9a838708956e001461c6d835d228aad8ce30902.tar.gz
mv-a9a838708956e001461c6d835d228aad8ce30902.tar.bz2
mv-a9a838708956e001461c6d835d228aad8ce30902.tar.xz
mv-a9a838708956e001461c6d835d228aad8ce30902.zip
move selectionevent into events directory.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/dropdown.cpp4
-rw-r--r--src/gui/widgets/dropdown.h2
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_colors.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_colors.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index aca82cef4..225ea11bb 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -524,7 +524,7 @@ gcn::Rectangle DropDown::getChildrenArea()
return gcn::Rectangle();
}
-void DropDown::valueChanged(const gcn::SelectionEvent& event A_UNUSED)
+void DropDown::valueChanged(const SelectionEvent& event A_UNUSED)
{
}
@@ -552,7 +552,7 @@ void DropDown::distributeValueChangedEvent()
iter != mSelectionListeners.end();
++iter)
{
- gcn::SelectionEvent event(this);
+ SelectionEvent event(this);
(*iter)->valueChanged(event);
}
}
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index dd38a1730..8f42bfc65 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -107,7 +107,7 @@ class DropDown final : public ActionListener,
std::string getSelectedString() const A_WARN_UNUSED;
- void valueChanged(const gcn::SelectionEvent& event) override final;
+ void valueChanged(const SelectionEvent& event) override final;
void updateSelection();
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 27a00798e..4608534b1 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -374,7 +374,7 @@ void ItemContainer::distributeValueChangedEvent()
{
if (*i)
{
- gcn::SelectionEvent event(this);
+ SelectionEvent event(this);
(*i)->valueChanged(event);
}
}
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp
index f7068b965..1a2bdfeae 100644
--- a/src/gui/widgets/tabs/setup_colors.cpp
+++ b/src/gui/widgets/tabs/setup_colors.cpp
@@ -244,7 +244,7 @@ void Setup_Colors::action(const ActionEvent &event)
}
}
-void Setup_Colors::valueChanged(const gcn::SelectionEvent &event A_UNUSED)
+void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED)
{
if (!userPalette)
return;
diff --git a/src/gui/widgets/tabs/setup_colors.h b/src/gui/widgets/tabs/setup_colors.h
index 55d5950c5..8864db7db 100644
--- a/src/gui/widgets/tabs/setup_colors.h
+++ b/src/gui/widgets/tabs/setup_colors.h
@@ -52,7 +52,7 @@ class Setup_Colors final : public SetupTab,
void action(const ActionEvent &event) override final;
- void valueChanged(const gcn::SelectionEvent &event) override final;
+ void valueChanged(const SelectionEvent &event) override final;
private:
static const char *const rawmsg;