summaryrefslogtreecommitdiff
path: root/src/findbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-11-30 17:30:57 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-11-30 17:30:57 +0100
commitd62176f7f2a6a204b5017bc661fff2d3a9f76e6e (patch)
treebaf13e65cc1cf88fc03e5ead6649b49527c6d9f1 /src/findbar.h
parentFixing ToolBar, some icons and code.. (diff)
downloadrekonq-d62176f7f2a6a204b5017bc661fff2d3a9f76e6e.tar.xz
- Ported historyMenu to KAction
- some adjs on urlbar - added TODO file to remember things
Diffstat (limited to 'src/findbar.h')
-rw-r--r--src/findbar.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/findbar.h b/src/findbar.h
index bd3c5960..ece34f83 100644
--- a/src/findbar.h
+++ b/src/findbar.h
@@ -23,26 +23,28 @@
#include <KLineEdit>
#include <KToolBar>
-#include <QWidget>
+#include <QMainWindow>
class FindBar : public KToolBar
{
Q_OBJECT
public:
- FindBar(QWidget *parent = 0);
+ FindBar(QMainWindow *parent);
~FindBar();
KLineEdit *lineEdit();
public slots:
void clear();
- void showFind();
- void slotFindNext();
- void slotFindPrevious();
+ void showFindBar();
+
+protected Q_SLOTS:
+ void keyPressEvent(QKeyEvent* event);
-private:
- void initializeFindWidget();
+signals:
+ void searchString(const QString &);
+private:
KLineEdit *m_lineEdit;
QWidget *m_centralWidget;
};