[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: [PATCH] Search-as-you-type behaviour for WebKitKDE
From: Shentey () web ! de
Date: 2008-08-26 17:59:37
Message-ID: 1595797572 () web ! de
[Download RAW message or body]
Hi,
this small patch adds search-as-you-type behaviour to WebKitKDE for which I'm asking \
for permission to apply.
It almost works like expected modulo that in certain cases it does not always find \
the first occurrence. This is due to a bug in the QtWebKit module for which I filled \
a bug report under [http://trolltech.com/developer/task-tracker/index_html?method=entry&id=224466].
Ok to commit?
Best whishes,
Bernhard
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
["search-as-you-type.diff" (text/x-diff)]
Index: kdewebkit/searchbar.cpp
===================================================================
--- kdewebkit/searchbar.cpp (Revision 852011)
+++ kdewebkit/searchbar.cpp (Arbeitskopie)
@@ -62,6 +62,8 @@
ui.nextButton->setIcon(KIcon("go-down-search"));
ui.nextButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
ui.searchInfo->setText(QString());
+ connect(ui.searchLineEdit, SIGNAL(textChanged(const QString&)),
+ this, SIGNAL(searchChanged(const QString&)));
connect(ui.nextButton, SIGNAL(clicked()),
this, SIGNAL(findNextClicked()));
connect(ui.previousButton, SIGNAL(clicked()),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic