┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-02-16 17:03:02 +0000
committerPeter Penz <[email protected]>2007-02-16 17:03:02 +0000
commit546384562ae872614cd0c8fa568bd65ae41885da (patch)
tree9baf799af17c8ed58f75f559040adc1995c834fd /src/dolphinview.h
parentcf8f099bd566f1873ba1187aa9408b481c842f1a (diff)
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
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h15
1 files changed, 14 insertions, 1 deletions
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