summaryrefslogtreecommitdiff
path: root/src/searchbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-16 01:09:39 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-16 01:09:39 +0100
commitaf9623896acb241a965a7d0823e12fd099031a39 (patch)
tree1c8a455631070d29bc2526a0015cb45c8b7ab5fc /src/searchbar.h
parentSome improvements in settings class.. (diff)
downloadrekonq-af9623896acb241a965a7d0823e12fd099031a39.tar.xz
Initial solution for UI resizing..
Now we can release rekonq 0.0.2 and thinking later about the problem..
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);