From 2cb45d81a5d61fbb703c8dac342d9945aed35e41 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 13 Jun 2007 17:42:16 +0000 Subject: 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 --- src/dolphincontroller.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dolphincontroller.h') 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 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 -- cgit v1.3