diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-02-21 22:07:49 +0100 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-02-21 22:13:59 +0100 |
commit | 9cdff6078e0e94349c684bd3b862fdea60d3f159 (patch) | |
tree | 9693b7e889732f709a8b40863a166c298c402841 /src/findbar.h | |
parent | rekonq 0.3.94 (diff) | |
download | rekonq-9cdff6078e0e94349c684bd3b862fdea60d3f159.tar.xz |
Clean and optimize the findBar code.
Use the searchString signal.
Fix the selection of the lineEdit text when the findBar is reopen.
Diffstat (limited to 'src/findbar.h')
-rw-r--r-- | src/findbar.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/findbar.h b/src/findbar.h index d56b8d25..8f220c92 100644 --- a/src/findbar.h +++ b/src/findbar.h @@ -35,11 +35,9 @@ // Qt Includes #include <QtGui/QWidget> #include <QtGui/QCheckBox> -#include <QtGui/QKeyEvent> // Forward Declarations class KMainWindow; -class QKeyEvent; class QString; @@ -52,15 +50,11 @@ public: ~FindBar(); KLineEdit *lineEdit() const; bool matchCase() const; + void notifyMatch(bool match); public slots: - void clear(); void show(); void hide(); - void notifyMatch(bool match); - -protected Q_SLOTS: - void keyPressEvent(QKeyEvent* event); signals: void searchString(const QString &); |