From 67138dcf8e3a1788928fd31256b29a257dae5eee Mon Sep 17 00:00:00 2001 From: Benjamin Poulain Date: Sun, 22 Aug 2010 04:06:54 +0200 Subject: Use the selected text as the default search string of the FindBar The common behavior of the Find action is to start a search with the current selected text if any. This patch implement this behavior for Rekonq. --- src/mainwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 3aa57f5c..cd55faa5 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -80,6 +80,8 @@ public: virtual QSize sizeHint() const; void setWidgetsVisible(bool makeFullScreen); + QString selectedText() const; + private: void setupBookmarksAndToolsShortcuts(); void setupActions(); -- cgit v1.2.1