diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-24 11:04:50 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-24 11:04:50 +0100 |
commit | c77009fa70847fc12e1b0dbb9826513b22d27e12 (patch) | |
tree | 49e92ee7d42a18096c6703705b4188c0c13b0ffc /src/searchbar.h | |
parent | updated TODO (diff) | |
download | rekonq-c77009fa70847fc12e1b0dbb9826513b22d27e12.tar.xz |
Added Google Suggest. Thanks, Ariyagit status
Diffstat (limited to 'src/searchbar.h')
-rw-r--r-- | src/searchbar.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/searchbar.h b/src/searchbar.h index 363ab35b..5ec81885 100644 --- a/src/searchbar.h +++ b/src/searchbar.h @@ -28,7 +28,9 @@ // Forward Declarations class KUrl; class QFocusEvent; - +class QTimer; +class QNetworkAccessManager; +class QNetworkReply; /** * This class defines an internet search bar. @@ -42,10 +44,13 @@ public: ~SearchBar(); public slots: -/** - * Use this slot to perform one search in one search engine - * - */ + void autoSuggest(); + void handleNetworkData(QNetworkReply *networkReply); + + /** + * Use this slot to perform one search in one search engine + * + */ void searchNow(); protected: @@ -54,6 +59,9 @@ protected: signals: void search(const KUrl &url); +private: + QTimer *timer; + QNetworkAccessManager *netMan; }; #endif |