┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-03-11 11:13:07 +0000
committerPeter Penz <[email protected]>2007-03-11 11:13:07 +0000
commit49f881f5ec01014e7b6b0c7fa14abd7e99f605fc (patch)
treeea15d16c1285d6e7d724d2a7af22aebbe8850b54 /src/dolphinview.h
parent277e385fd8a1f23cacf801f469e373b64e9443c0 (diff)
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
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 5cfd7904d..8ca4a1ac3 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -449,12 +449,12 @@ private slots:
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.
+ * Drops the URLs \a urls to the index \a index. \a source
+ * indicates the widget where the dragging has been started from.
*/
void dropUrls(const KUrl::List& urls,
- const QPoint& pos);
+ const QModelIndex& index,
+ QWidget* source);
/**
* Drops the URLs \a urls at the