┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-13 17:42:16 +0000
committerPeter Penz <[email protected]>2007-06-13 17:42:16 +0000
commit2cb45d81a5d61fbb703c8dac342d9945aed35e41 (patch)
tree56082701f95563cd990c50344f73b3d3694e3967 /src/dolphincontroller.h
parent862ceee323ad3b474ce9de11eefbddd99c528fac (diff)
provide a common drawing method for the hover indication during drag & drop until issue/wish #160611 is solved in Qt4.4
svn path=/trunk/KDE/kdebase/apps/; revision=675042
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index ccf4e4879..aa0eab22f 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -26,8 +26,11 @@
#include <libdolphin_export.h>
class KUrl;
+class QBrush;
class QModelIndex;
class QPoint;
+class QRect;
+class QWidget;
/**
* @brief Allows to control Dolphin views and to react on state changes.
@@ -83,6 +86,11 @@ public:
inline void setZoomOutPossible(bool possible);
inline bool isZoomOutPossible() const;
+ // TODO: remove this method when the issue #160611 is solved in Qt 4.4
+ static void drawHoverIndication(QWidget* widget,
+ const QRect& bounds,
+ const QBrush& brush);
+
public slots:
/**
* Emits the signal itemTriggered(). The method should be invoked by the