diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-28 20:59:08 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-28 20:59:08 +0200 |
commit | 3f137d56176193c2bec7c876eb935612df91475c (patch) | |
tree | 69b1fe311e2e5781768f8a25db39a3e7d1a80a9b /src/search/opensearchmanager.h | |
parent | Increase xmlgui version number (just to be sure..) (diff) | |
download | rekonq-3f137d56176193c2bec7c876eb935612df91475c.tar.xz |
Restore urlbar responsiveness
Suggestions are now added when ready
Diffstat (limited to 'src/search/opensearchmanager.h')
-rw-r--r-- | src/search/opensearchmanager.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/search/opensearchmanager.h b/src/search/opensearchmanager.h index 8a45b83c..8a234df2 100644 --- a/src/search/opensearchmanager.h +++ b/src/search/opensearchmanager.h @@ -82,17 +82,17 @@ public: public slots: /** * Ask the specific suggestion engine to request for suggestion for the search text - * @param searchProvider the search provider that provides the suggestion service + * * @param searchText the text to be queried to the suggestion service */ - void requestSuggestion(const QString &searchProvider); + void requestSuggestion(const QString &searchText); private slots: void dataReceived(KIO::Job *job, const QByteArray &data); void jobFinished(KJob *job); signals: - void suggestionReceived(const QStringList &suggestion); + void suggestionReceived(const QString &text, const QStringList &suggestion); void openSearchEngineAdded(const QString &name, const QString &searchUrl, const QString &fileName); private: @@ -103,6 +103,8 @@ private: QMap<QString, OpenSearchEngine*> m_enginesMap; OpenSearchEngine *m_activeEngine; STATE m_state; + + QString _typedText; }; #endif // OPENSEARCHMANAGER_H |