summaryrefslogtreecommitdiff
path: root/src/findbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/findbar.h')
-rw-r--r--src/findbar.h8
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