┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-19 18:58:30 +0000
committerPeter Penz <[email protected]>2007-06-19 18:58:30 +0000
commiteaa0ff560b273d785d8f7524bc3ddc597ba14d96 (patch)
tree867d21cdcf1a42fcbcb72f764896e1409368c5d8 /src/dolphincontroller.h
parentf9f4dbf005f63d9e1d14acbe21beab6e0fc26b36 (diff)
when requesting a context menu provide a URL for the viewport, because in the column view this URL can differ from the navigator URL
svn path=/trunk/KDE/kdebase/apps/; revision=677704
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index aa0eab22f..c45c55980 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -60,7 +60,7 @@ public:
inline void setUrl(const KUrl& url);
inline const KUrl& url() const;
- void triggerContextMenuRequest(const QPoint& pos);
+ void triggerContextMenuRequest(const QPoint& pos, const KUrl& url);
void triggerActivation();
@@ -116,8 +116,10 @@ signals:
* context menu should be opened. It is recommended
* to get the corresponding model index from
* this position.
+ * @param url URL of the viewport, if there is no valid model
+ * index on the given position.
*/
- void requestContextMenu(const QPoint& pos);
+ void requestContextMenu(const QPoint& pos, const KUrl& url);
/**
* Is emitted if the view has been activated by e. g. a mouse click.