]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSearchDialog.h
angus' patch
[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 "ui/QSearchDialogBase.h"
15 #include "QSearch.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 protected slots:
27         void findChanged();
28         void findClicked();
29         void replaceClicked();
30         void replaceallClicked();
31  
32 protected:
33         void closeEvent(QCloseEvent * e);
34
35 private:
36         // add a string to the combo if needed
37         void remember(string const & find, QComboBox & combo);
38  
39         QSearch * form_;
40
41 };
42
43 #endif // QSEARCHDIALOG_H