From 546384562ae872614cd0c8fa568bd65ae41885da Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 16 Feb 2007 17:03:02 +0000 Subject: Reanimated drag & drop support again after introducing the DolphinController. It is now also possible to move the items inside an icon view like discussed on kde-devel/kde-usability. svn path=/trunk/KDE/kdebase/apps/; revision=634228 --- src/dolphinview.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 875b6b114..5b820fe8e 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -430,7 +430,20 @@ private slots: */ void changeNameFilter(const QString& nameFilter); - void openContextMenu(const QPoint& pos, const QPoint& globalPos); + /** + * Opens the context menu on position \a pos. The position + * is used to check whether the context menu is related to an + * item or to the viewport. + */ + void openContextMenu(const QPoint& pos); + + /** + * Drops the URLs \a urls at the position \a pos. + * The position is used to check whether the dropping + * is done above an item or above the viewport. + */ + void dropUrls(const KUrl::List& urls, + const QPoint& pos); /** * Updates the view properties of the current URL to the -- cgit v1.3