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
|
|
|
|
*
|
|
|
|
* 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-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
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;
|
|
|
|
|
2001-09-01 03:52:21 +00:00
|
|
|
class QSpellcheckerDialog : public QSpellcheckerDialogBase
|
|
|
|
{ Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
QSpellcheckerDialog(QSpellchecker * form);
|
|
|
|
|
|
|
|
protected slots:
|
2002-09-24 13:57:09 +00:00
|
|
|
virtual void stop();
|
|
|
|
virtual void acceptClicked();
|
|
|
|
virtual void spellcheckClicked();
|
|
|
|
virtual void addClicked();
|
|
|
|
virtual void replaceClicked();
|
|
|
|
virtual void ignoreClicked();
|
2001-09-01 03:52:21 +00:00
|
|
|
virtual void suggestionChanged(const QString &);
|
2002-03-21 21:21:28 +00:00
|
|
|
virtual void replaceChanged(const QString &);
|
|
|
|
|
2001-09-01 03:52:21 +00:00
|
|
|
protected:
|
|
|
|
virtual void closeEvent(QCloseEvent * e);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QSpellchecker * form_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QSPELLCHECKERDIALOG_H
|