diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-10 00:19:56 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-10 00:19:56 +0100 |
commit | 2565f1a0b3fa0e345159ae0c85a701467269e1ea (patch) | |
tree | 6aa7ab5ed982c413964e774bf52ef77e6b5ac08f /src/searchbar.cpp | |
parent | Added gray "Search.." on searchbar (diff) | |
download | rekonq-2565f1a0b3fa0e345159ae0c85a701467269e1ea.tar.xz |
nothing important
Diffstat (limited to 'src/searchbar.cpp')
-rw-r--r-- | src/searchbar.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/searchbar.cpp b/src/searchbar.cpp index 61bb61a5..a48803b3 100644 --- a/src/searchbar.cpp +++ b/src/searchbar.cpp @@ -44,10 +44,12 @@ SearchBar::SearchBar(QWidget *parent) : connect( lineEdit() , SIGNAL( returnPressed() ) , this , SLOT( searchNow() ) ); } + SearchBar::~SearchBar() { } + void SearchBar::searchNow() { QString searchText = m_lineEdit->text(); @@ -58,9 +60,9 @@ void SearchBar::searchNow() url.addQueryItem(QLatin1String("oe"), QLatin1String("UTF-8")); url.addQueryItem(QLatin1String("client"), QLatin1String("rekonq")); emit search(url); - } + KLineEdit *SearchBar::lineEdit() { return m_lineEdit; |