2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2001-09-01 03:52:21 +00:00
|
|
|
/**
|
|
|
|
* \file QSpellcheckerDialog.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-09-01 03:52:21 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-09-01 03:52:21 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QSPELLCHECKERDIALOG_H
|
|
|
|
#define QSPELLCHECKERDIALOG_H
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
|
2002-06-19 03:38:44 +00:00
|
|
|
#include "ui/QSpellcheckerDialogBase.h"
|
2001-09-01 03:52:21 +00:00
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
class QSpellchecker;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QSpellcheckerDialog : public QSpellcheckerDialogBase {
|
|
|
|
Q_OBJECT
|
2001-09-01 03:52:21 +00:00
|
|
|
public:
|
|
|
|
QSpellcheckerDialog(QSpellchecker * form);
|
2002-12-12 21:07:20 +00:00
|
|
|
public slots:
|
|
|
|
virtual void suggestionChanged(const QString &);
|
2003-02-25 13:35:26 +00:00
|
|
|
|
2001-09-01 03:52:21 +00:00
|
|
|
protected slots:
|
2002-09-24 13:57:09 +00:00
|
|
|
virtual void acceptClicked();
|
|
|
|
virtual void addClicked();
|
|
|
|
virtual void replaceClicked();
|
|
|
|
virtual void ignoreClicked();
|
2002-03-21 21:21:28 +00:00
|
|
|
virtual void replaceChanged(const QString &);
|
2002-11-28 16:16:58 +00:00
|
|
|
virtual void reject();
|
2002-12-01 22:59:25 +00:00
|
|
|
|
2001-09-01 03:52:21 +00:00
|
|
|
protected:
|
|
|
|
virtual void closeEvent(QCloseEvent * e);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QSpellchecker * form_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QSPELLCHECKERDIALOG_H
|