]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSpellcheckerDialog.h
reverse last change
[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 public:
26         QSpellcheckerDialog(QSpellchecker * form);
27 public slots:
28         virtual void suggestionChanged(const QString &);
29  
30 protected slots:
31         virtual void stop();
32         virtual void acceptClicked();
33         virtual void spellcheckClicked();
34         virtual void addClicked();
35         virtual void replaceClicked();
36         virtual void ignoreClicked();
37         virtual void replaceChanged(const QString &);
38         virtual void reject();
39
40 protected:
41         virtual void closeEvent(QCloseEvent * e);
42
43 private:
44         QSpellchecker * form_;
45 };
46
47 #endif // QSPELLCHECKERDIALOG_H