diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-11-30 17:30:57 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-11-30 17:30:57 +0100 |
commit | d62176f7f2a6a204b5017bc661fff2d3a9f76e6e (patch) | |
tree | baf13e65cc1cf88fc03e5ead6649b49527c6d9f1 /src/findbar.h | |
parent | Fixing ToolBar, some icons and code.. (diff) | |
download | rekonq-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.h | 16 |
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; }; |