summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;