diff options
| author | Peter Penz <[email protected]> | 2007-03-11 11:13:07 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-11 11:13:07 +0000 |
| commit | 49f881f5ec01014e7b6b0c7fa14abd7e99f605fc (patch) | |
| tree | ea15d16c1285d6e7d724d2a7af22aebbe8850b54 /src/sidebartreeview.h | |
| parent | 277e385fd8a1f23cacf801f469e373b64e9443c0 (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/sidebartreeview.h')
| -rw-r--r-- | src/sidebartreeview.h | 9 |
1 files changed, 3 insertions, 6 deletions
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); |
