From af9623896acb241a965a7d0823e12fd099031a39 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 16 Dec 2008 01:09:39 +0100 Subject: Initial solution for UI resizing.. Now we can release rekonq 0.0.2 and thinking later about the problem.. --- src/searchbar.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/searchbar.h') 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 -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); -- cgit v1.2.1