┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphiniconsview.h')
-rw-r--r--src/dolphiniconsview.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h
index ae0a6299d..6c3f6fa38 100644
--- a/src/dolphiniconsview.h
+++ b/src/dolphiniconsview.h
@@ -54,6 +54,7 @@ protected:
virtual QStyleOptionViewItem viewOptions() const;
virtual void contextMenuEvent(QContextMenuEvent* event);
virtual void mousePressEvent(QMouseEvent* event);
+ virtual void startDrag(Qt::DropActions supportedActions);
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dragLeaveEvent(QDragLeaveEvent* event);
virtual void dragMoveEvent(QDragMoveEvent* event);
@@ -87,6 +88,13 @@ private:
KFileItem itemForIndex(const QModelIndex& index) const;
+ /**
+ * Returns true, if the QListView-issue in QListView::visualRect()
+ * must be bypassed. TODO: this method is only temporary to have
+ * a usable drag & drop behavior until the issue in Qt is fixed.
+ */
+ bool bypassVisualRectIssue() const;
+
private:
DolphinController* m_controller;
DolphinCategoryDrawer* m_categoryDrawer;