]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSpellcheckerDialog.h
Lots and lots of little trivial bits.
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ui/QSpellcheckerDialogBase.h"
20
21 class QSpellchecker;
22
23 class QSpellcheckerDialog : public QSpellcheckerDialogBase
24 { Q_OBJECT
25
26 public:
27         QSpellcheckerDialog(QSpellchecker * form);
28
29 protected slots:
30         virtual void stop();
31         virtual void acceptClicked();
32         virtual void spellcheckClicked();
33         virtual void addClicked();
34         virtual void replaceClicked();
35         virtual void ignoreClicked();
36         virtual void suggestionChanged(const QString &);
37         virtual void replaceChanged(const QString &);
38
39 protected:
40         virtual void closeEvent(QCloseEvent * e);
41
42 private:
43         QSpellchecker * form_;
44 };
45
46 #endif // QSPELLCHECKERDIALOG_H