summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 16:26:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 16:26:52 +0300
commit5fc6d9e0f9637e3aaa71972478bee9febbe78ca7 (patch)
tree0b65e519506388e0f4c225ab585b85c84aa03a55 /src/gui/widgets/dropdown.h
parent4e7a7c79f41a5aa509fa639f0d3e972ab7db6b06 (diff)
downloadplus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.tar.gz
plus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.tar.bz2
plus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.tar.xz
plus-5fc6d9e0f9637e3aaa71972478bee9febbe78ca7.zip
Move listmodel into gui/modesl directory.
Diffstat (limited to 'src/gui/widgets/dropdown.h')
-rw-r--r--src/gui/widgets/dropdown.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index 81e3b6e8f..b8c3e7150 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -34,14 +34,10 @@
#include "localconsts.h"
class Image;
+class ListModel;
class PopupList;
class Skin;
-namespace gcn
-{
- class ListModel;
-}
-
/**
* A drop down box from which you can select different values.
*
@@ -66,7 +62,7 @@ class DropDown final : public ActionListener,
* @see ListModel, ScrollArea, ListBox.
*/
DropDown(const Widget2 *const widget,
- gcn::ListModel *const listModel,
+ ListModel *const listModel,
const bool extended = false,
const bool modal = false,
ActionListener *const listener = nullptr,
@@ -121,9 +117,9 @@ class DropDown final : public ActionListener,
void setSelected(int selected);
- void setListModel(gcn::ListModel *const listModel);
+ void setListModel(ListModel *const listModel);
- gcn::ListModel *getListModel();
+ ListModel *getListModel();
void addSelectionListener(SelectionListener* listener);