From 49f881f5ec01014e7b6b0c7fa14abd7e99f605fc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 11 Mar 2007 11:13:07 +0000 Subject: Fixed some drag & drop issues: - allow drag & drop inside the view - prevent a dragging from a directory into itself - use QModelIndex instead of the position svn path=/trunk/KDE/kdebase/apps/; revision=641451 --- src/sidebartreeview.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/sidebartreeview.h') diff --git a/src/sidebartreeview.h b/src/sidebartreeview.h index 8b1f039a0..f7360e9c4 100644 --- a/src/sidebartreeview.h +++ b/src/sidebartreeview.h @@ -40,14 +40,11 @@ public: signals: /** - * Is emitted if the URLs \a urls have been dropped. - * @param pos Position relative to the tree view where the - * dropping has been done. It is recommended - * to get the corresponding model index from - * this position to find out the destination. + * Is emitted if the URLs \a urls have been dropped to + * the index \a index. */ void urlsDropped(const KUrl::List& urls, - const QPoint& pos); + const QModelIndex& index); protected: virtual bool event(QEvent* event); -- cgit v1.3