summaryrefslogtreecommitdiff
path: root/src/findbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/findbar.h')
-rw-r--r--src/findbar.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/findbar.h b/src/findbar.h
index 38bbcbc5..6451aac8 100644
--- a/src/findbar.h
+++ b/src/findbar.h
@@ -41,30 +41,28 @@
// Forward Declarations
class QString;
-
+class MainWindow;
class REKONQ_TESTS_EXPORT FindBar : public QWidget
{
Q_OBJECT
public:
- FindBar(QWidget *parent);
+ FindBar(MainWindow *parent);
~FindBar();
bool matchCase() const;
void notifyMatch(bool match);
bool highlightAllState() const;
-public slots:
- void show();
- void hide();
- void toggleVisibility();
+ void setVisible(bool visible);
signals:
void searchString(const QString &);
void visibilityChanged(bool);
private:
+ MainWindow *m_mainWindow;
KLineEdit *m_lineEdit;
QTimer *m_hideTimer;
QCheckBox *m_matchCase;