summaryrefslogtreecommitdiff
path: root/src/findbar.h
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-02-21 22:07:49 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2010-02-21 22:13:59 +0100
commit9cdff6078e0e94349c684bd3b862fdea60d3f159 (patch)
tree9693b7e889732f709a8b40863a166c298c402841 /src/findbar.h
parentrekonq 0.3.94 (diff)
downloadrekonq-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.h8
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 &);