]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSearchDialog.h
dont use pragma impementation and interface anymore
[lyx.git] / src / frontends / qt2 / QSearchDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QSearchDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QSEARCHDIALOG_H
13 #define QSEARCHDIALOG_H
14
15
16 #include "ui/QSearchDialogBase.h"
17 #include "LString.h"
18
19 class QSearch;
20 class QCloseEvent;
21 class QComboBox;
22
23 class QSearchDialog : public QSearchDialogBase {
24         Q_OBJECT
25 public:
26         QSearchDialog(QSearch * form);
27
28         virtual void show();
29 protected slots:
30         void findChanged();
31         void findClicked();
32         void replaceClicked();
33         void replaceallClicked();
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 #endif // QSEARCHDIALOG_H