From e78615f172a2b9f549da6eef2b343a472d42f45f Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 2 Jun 2007 17:28:59 +0000 Subject: 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 --- src/dolphindetailsview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/dolphindetailsview.h') 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; -- cgit v1.3