diff options
author | lionelc <megabigbug@yahoo.fr> | 2010-09-01 19:32:44 +0200 |
---|---|---|
committer | lionelc <megabigbug@yahoo.fr> | 2010-09-01 19:32:44 +0200 |
commit | 3e527d1d33fc147989942d03ee59497e6f3e42d0 (patch) | |
tree | 5c398b70f754e6c48b5c05e3c50ce5b667930951 /src/urlbar/urlresolver.h | |
parent | This should improve adblock retrieving by NOT asking for SSL confirmations (diff) | |
download | rekonq-3e527d1d33fc147989942d03ee59497e6f3e42d0.tar.xz |
big commit: fix fast typing
Diffstat (limited to 'src/urlbar/urlresolver.h')
-rw-r--r-- | src/urlbar/urlresolver.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/urlbar/urlresolver.h b/src/urlbar/urlresolver.h index 4e85e917..dc579e0e 100644 --- a/src/urlbar/urlresolver.h +++ b/src/urlbar/urlresolver.h @@ -33,7 +33,7 @@ // KDE Includes #include <KUrl> - +#include <KService> // Qt Includes #include <QString> @@ -104,6 +104,16 @@ public: UrlSearchList orderedSearchItems(); + static KService::Ptr searchEngine() + { + return _searchEngine; + }; + + static void setSearchEngine(KService::Ptr engine) + { + _searchEngine = engine; + }; + private: QString _typedString; @@ -124,6 +134,8 @@ private: static QRegExp _browseRegexp; static QRegExp _searchEnginesRegexp; + + static KService::Ptr _searchEngine; private slots: void suggestionsReceived(const QString &text, const QStringList &suggestions); |