diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-16 01:09:39 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-16 01:09:39 +0100 |
commit | af9623896acb241a965a7d0823e12fd099031a39 (patch) | |
tree | 1c8a455631070d29bc2526a0015cb45c8b7ab5fc /src/searchbar.h | |
parent | Some improvements in settings class.. (diff) | |
download | rekonq-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.h | 14 |
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); |