diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-23 00:19:36 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-23 00:19:36 +0200 |
commit | 851011df3b2e59403808e9c0baf83224be12fd18 (patch) | |
tree | 087430726fd9a2d5f41febb801cddf6d955dd2c1 /src/findbar.h | |
parent | Merge commit 'refs/merge-requests/188' of git://gitorious.org/rekonq/mainline (diff) | |
parent | Use the selected text as the default search string of the FindBar (diff) | |
download | rekonq-851011df3b2e59403808e9c0baf83224be12fd18.tar.xz |
Merge commit 'refs/merge-requests/189' of git://gitorious.org/rekonq/mainline into m189
Diffstat (limited to 'src/findbar.h')
-rw-r--r-- | src/findbar.h | 10 |
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; |