┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
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.