┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.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/dolphincontroller.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/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index 1bd283fd4..6edf6eba9 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -61,7 +61,8 @@ public:
void triggerActivation();
void indicateDroppedUrls(const KUrl::List& urls,
- const QPoint& pos);
+ const QModelIndex& index,
+ QWidget* source);
void indicateSortingChange(DolphinView::Sorting sorting);
@@ -98,14 +99,13 @@ signals:
void activated();
/**
- * Is emitted if the URLs \a urls have been dropped.
- * @param pos Position relative to the view widget 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. \a source indicates the widget where the dragging has
+ * been started from.
*/
void urlsDropped(const KUrl::List& urls,
- const QPoint& pos);
+ const QModelIndex& index,
+ QWidget* source);
/** Is emitted if the sorting has been changed to \a sorting. */
void sortingChanged(DolphinView::Sorting sorting);