]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSearchDialog.h
keynav fixes
[lyx.git] / src / frontends / qt2 / QSearchDialog.h
1 /**
2  * \file QSearchDialog.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author Edwin Leuven
7  */
8
9 #ifndef QSEARCHDIALOG_H
10 #define QSEARCHDIALOG_H
11
12 #include <config.h>
13
14 #include "QSearch.h"
15 #include "ui/QSearchDialogBase.h"
16
17 class QCloseEvent;
18 class QComboBox;
19
20 class QSearchDialog : public QSearchDialogBase
21 { Q_OBJECT
22
23 public:
24         QSearchDialog(QSearch * form);
25
26         virtual void show();
27
28 protected slots:
29         void findChanged();
30         void findClicked();
31         void replaceClicked();
32         void replaceallClicked();
33
34 protected:
35         virtual void closeEvent(QCloseEvent * e);
36
37 private:
38         // add a string to the combo if needed
39         void remember(string const & find, QComboBox & combo);
40
41         QSearch * form_;
42
43 };
44
45 #endif // QSEARCHDIALOG_H