diff options
| author | Peter Penz <[email protected]> | 2008-06-03 20:30:39 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-06-03 20:30:39 +0000 |
| commit | 834082a16cf69c19ac961beae0da1b713f785849 (patch) | |
| tree | 6d19f69263fd1116d7a1a99bea64c26b700bfc56 /src/dolphincontroller.h | |
| parent | ae0829d3b8f0f4e44e9d861af3d5951ee1eaa304 (diff) | |
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
Diffstat (limited to 'src/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 8 |
1 files changed, 8 insertions, 0 deletions
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() @@ -213,6 +214,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. */ KFileItem itemForIndex(const QModelIndex& index) const; |
