┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.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/dolphiniconsview.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/dolphiniconsview.h')
-rw-r--r--src/dolphiniconsview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h
index c1301cd89..d2fc6b4ab 100644
--- a/src/dolphiniconsview.h
+++ b/src/dolphiniconsview.h
@@ -49,7 +49,9 @@ protected:
virtual void mousePressEvent(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);
private slots:
void slotShowPreviewChanged(bool show);
@@ -76,6 +78,9 @@ private:
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
};
#endif