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