]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSearchDialog.h
5ae2547714b663f8047d851a1d161c4ff21393db
[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
18 class QSearch;
19 class QCloseEvent;
20 class QComboBox;
21
22 class QSearchDialog : public QSearchDialogBase {
23         Q_OBJECT
24 public:
25         QSearchDialog(QSearch * form);
26
27         virtual void show();
28 protected slots:
29         void findChanged();
30         void findClicked();
31         void replaceClicked();
32         void replaceallClicked();
33 protected:
34         virtual void closeEvent(QCloseEvent * e);
35
36 private:
37         // add a string to the combo if needed
38         void remember(std::string const & find, QComboBox & combo);
39
40         QSearch * form_;
41 };
42
43 #endif // QSEARCHDIALOG_H