summaryrefslogtreecommitdiff
path: root/src/searchbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchbar.h')
-rw-r--r--src/searchbar.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/searchbar.h b/src/searchbar.h
index 67f2bda5..a83d7024 100644
--- a/src/searchbar.h
+++ b/src/searchbar.h
@@ -28,27 +28,19 @@
// Qt Includes
#include <QtGui>
-class SearchBar : public QWidget
+class SearchBar : public KLineEdit
{
-Q_OBJECT
+ Q_OBJECT
public:
SearchBar(QWidget *parent = 0);
~SearchBar();
- KLineEdit *lineEdit();
-
- friend class KLineEdit;
-
public slots:
void searchNow();
protected:
-// void resizeEvent(QResizeEvent *);
-// void focusInEvent(QFocusEvent *);
-
-private:
- KLineEdit *m_lineEdit;
+ void focusInEvent(QFocusEvent * );
signals:
void search(const KUrl &url);