summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-08-02 14:45:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commitd7bbc59e802d23abbaa59df8b4b1b4b313c3bb07 (patch)
treea24f104943ccf343e35b13a237a7d197850345e5 /src/webtab
parentFix urlbar widget show (diff)
downloadrekonq-d7bbc59e802d23abbaa59df8b4b1b4b313c3bb07.tar.xz
Removed (FOR NOW) open search feature
This needs a new implementation and a better integration in rekonq code WARNING: Restart reverting this...
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/webtab.cpp7
-rw-r--r--src/webtab/webtab.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp
index 27e711fd..e53d7b48 100644
--- a/src/webtab/webtab.cpp
+++ b/src/webtab/webtab.cpp
@@ -179,13 +179,6 @@ bool WebTab::hasRSSInfo()
}
-bool WebTab::hasNewSearchEngine()
-{
- QWebElement e = page()->mainFrame()->findFirstElement(QL1S("head >link[rel=\"search\"][ type=\"application/opensearchdescription+xml\"]"));
- return !e.isNull(); // FIXME && !rApp->opensearchManager()->engineExists(extractOpensearchUrl(e));
-}
-
-
void WebTab::createWalletBar(const QString &key, const QUrl &url)
{
// check if the url is in the wallet blacklist
diff --git a/src/webtab/webtab.h b/src/webtab/webtab.h
index 5984ea53..8b60f0ff 100644
--- a/src/webtab/webtab.h
+++ b/src/webtab/webtab.h
@@ -71,7 +71,6 @@ public:
KUrl url();
bool hasRSSInfo();
- bool hasNewSearchEngine();
void createPreviewSelectorBar(int index);
void hideSelectorBar();