]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSpellcheckerDialog.h
fix math fonts with LyX/Mac
[lyx.git] / src / frontends / qt2 / QSpellcheckerDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QSpellcheckerDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QSPELLCHECKERDIALOG_H
13 #define QSPELLCHECKERDIALOG_H
14
15 #include "ui/QSpellcheckerDialogBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class QSpellchecker;
21
22 class QSpellcheckerDialog : public QSpellcheckerDialogBase {
23         Q_OBJECT
24 public:
25         QSpellcheckerDialog(QSpellchecker * form);
26 public slots:
27         virtual void suggestionChanged(const QString &);
28
29 protected slots:
30         virtual void acceptClicked();
31         virtual void addClicked();
32         virtual void replaceClicked();
33         virtual void ignoreClicked();
34         virtual void replaceChanged(const QString &);
35         virtual void reject();
36
37 protected:
38         virtual void closeEvent(QCloseEvent * e);
39
40 private:
41         QSpellchecker * form_;
42 };
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // QSPELLCHECKERDIALOG_H