summaryrefslogtreecommitdiff
path: root/src/searchbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-10 00:19:56 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-10 00:19:56 +0100
commit2565f1a0b3fa0e345159ae0c85a701467269e1ea (patch)
tree6aa7ab5ed982c413964e774bf52ef77e6b5ac08f /src/searchbar.cpp
parentAdded gray "Search.." on searchbar (diff)
downloadrekonq-2565f1a0b3fa0e345159ae0c85a701467269e1ea.tar.xz
nothing important
Diffstat (limited to 'src/searchbar.cpp')
-rw-r--r--src/searchbar.cpp4
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;