summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/listbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 15:15:19 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-19 16:39:56 +0300
commit10badd2c0e099c7611f6d23b3973e54f210bc172 (patch)
tree3689c22c252c2fed2f7e3d4cbd57d330fc2bf839 /src/guichan/widgets/listbox.cpp
parent876e370925a021bb6731703c3db2db2945f62f85 (diff)
downloadmanaverse-10badd2c0e099c7611f6d23b3973e54f210bc172.tar.gz
manaverse-10badd2c0e099c7611f6d23b3973e54f210bc172.tar.bz2
manaverse-10badd2c0e099c7611f6d23b3973e54f210bc172.tar.xz
manaverse-10badd2c0e099c7611f6d23b3973e54f210bc172.zip
Fix namespace conflicts.
Diffstat (limited to 'src/guichan/widgets/listbox.cpp')
-rw-r--r--src/guichan/widgets/listbox.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/guichan/widgets/listbox.cpp b/src/guichan/widgets/listbox.cpp
index 42f2d8d8b..2a20a792e 100644
--- a/src/guichan/widgets/listbox.cpp
+++ b/src/guichan/widgets/listbox.cpp
@@ -61,9 +61,9 @@
namespace gcn
{
ListBox::ListBox() :
- Widget(),
- MouseListener(),
- KeyListener(),
+ gcn::Widget(),
+ gcn::MouseListener(),
+ gcn::KeyListener(),
mSelected(-1),
mListModel(nullptr),
mWrappingEnabled(false)
@@ -76,9 +76,9 @@ namespace gcn
}
ListBox::ListBox(ListModel *listModel) :
- Widget(),
- MouseListener(),
- KeyListener(),
+ gcn::Widget(),
+ gcn::MouseListener(),
+ gcn::KeyListener(),
mSelected(-1),
mListModel(listModel),
mWrappingEnabled(false)
@@ -191,7 +191,7 @@ namespace gcn
{
mWrappingEnabled = wrappingEnabled;
}
-
+
void ListBox::addSelectionListener(SelectionListener* selectionListener)
{
mSelectionListeners.push_back(selectionListener);