┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-02 17:28:59 +0000
committerPeter Penz <[email protected]>2007-06-02 17:28:59 +0000
commite78615f172a2b9f549da6eef2b343a472d42f45f (patch)
tree5fe9ce5bec06055b849f0452f6db6265ef91d3f1 /src/dolphindetailsview.h
parentf7a5c62746b91a1e96387c697605544e7df2ffb2 (diff)
Provide a hover information when dragging items above other items. TODO: this code can be removed again when issue #160611 is solved in Qt 4.4.
svn path=/trunk/KDE/kdebase/apps/; revision=670848
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h
index 290e3cc06..8792881fd 100644
--- a/src/dolphindetailsview.h
+++ b/src/dolphindetailsview.h
@@ -52,6 +52,7 @@ protected:
virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event);
virtual void dragEnterEvent(QDragEnterEvent* event);
+ virtual void dragMoveEvent(QDragMoveEvent* event);
virtual void dropEvent(QDropEvent* event);
virtual void paintEvent(QPaintEvent* event);
@@ -120,6 +121,9 @@ private:
DolphinController* m_controller;
QStyleOptionViewItem m_viewOptions;
+ bool m_dragging; // TODO: remove this property when the issue #160611 is solved in Qt 4.4
+ QRect m_dropRect; // TODO: remove this property when the issue #160611 is solved in Qt 4.4
+
bool m_showElasticBand;
QPoint m_elasticBandOrigin;
QPoint m_elasticBandDestination;