summaryrefslogtreecommitdiff
path: root/src/modlistview.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-04-04 21:51:13 +0200
committerTannin <devnull@localhost>2013-04-04 21:51:13 +0200
commit5b04f38345850db86d8f43a42dd946810bceba8a (patch)
tree629940b34e536f1d8eca325f0c4296ea3be97507 /src/modlistview.h
parentde27ab391f5c56db9532e7cbc32145d21e5df97c (diff)
added modlist view class (updates drop behaviour on modlist depending on mime type)
Diffstat (limited to 'src/modlistview.h')
-rw-r--r--src/modlistview.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/modlistview.h b/src/modlistview.h
new file mode 100644
index 00000000..e501a660
--- /dev/null
+++ b/src/modlistview.h
@@ -0,0 +1,20 @@
+#ifndef MODLISTVIEW_H
+#define MODLISTVIEW_H
+
+#include <QTreeView>
+#include <QDragEnterEvent>
+
+class ModListView : public QTreeView
+{
+ Q_OBJECT
+public:
+ explicit ModListView(QWidget *parent = 0);
+ virtual void dragEnterEvent(QDragEnterEvent *event);
+signals:
+ void dropModeUpdate(bool dropOnRows);
+
+public slots:
+
+};
+
+#endif // MODLISTVIEW_H