diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-11-28 10:35:19 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-11-28 10:35:19 +0100 |
commit | ec154e126f4ae0febbbb7fef298ca6d98aee836d (patch) | |
tree | d86d494eab593c1495af58f2c0d349fb6028f14e /src/findbar.h | |
parent | Other QAction -> KAction (diff) | |
download | rekonq-ec154e126f4ae0febbbb7fef298ca6d98aee836d.tar.xz |
New findbar implementation. Now it will be shown with CTRL+F, but NOT
hidden with ESC button.
Also doesn't search
Diffstat (limited to 'src/findbar.h')
-rw-r--r-- | src/findbar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/findbar.h b/src/findbar.h index 214a06e2..05dbf820 100644 --- a/src/findbar.h +++ b/src/findbar.h @@ -21,16 +21,18 @@ #define FINDBAR_H #include <KLineEdit> +#include <KToolBar> #include <QWidget> -class FindBar : public QWidget +class FindBar : public KToolBar { Q_OBJECT public: FindBar(QWidget *parent = 0); ~FindBar(); + KLineEdit *lineEdit(); public slots: void clear(); @@ -38,9 +40,6 @@ public slots: void slotFindNext(); void slotFindPrevious(); -protected: - void resizeEvent(QResizeEvent *event); - private slots: void frameChanged(int frame); @@ -48,6 +47,7 @@ private: void initializeFindWidget(); KLineEdit *m_lineEdit; + QWidget *m_centralWidget; }; #endif |