From 834082a16cf69c19ac961beae0da1b713f785849 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 3 Jun 2008 20:30:39 +0000 Subject: jump to the URL of the clipboard content if a middle click on an empty area inside the view is done svn path=/trunk/KDE/kdebase/apps/; revision=816421 --- src/dolphincontroller.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dolphincontroller.h') diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index 191bd1e63..d5e9325d3 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -65,6 +65,7 @@ class QWidget; * - handleKeyPressEvent() * - emitItemEntered() * - emitViewportEntered() + * - replaceUrlByClipboard() * * The communication of the abstract view to the view implementations is done by: * - setUrl() @@ -212,6 +213,13 @@ public: */ void handleKeyPressEvent(QKeyEvent* event); + /** + * Replaces the URL of the abstract Dolphin view with the content + * of the clipboard as URL. If the clipboard contains no text, + * nothing will be done. + */ + void replaceUrlByClipboard(); + /** * Returns the file item for the proxy index \a index of the view \a view. */ -- cgit v1.3.1