diff options
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 |