mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
0c5c06c8c4
All still VERY primitive, in fact even more primitive since some stuff got re-horked after the meeting, and still needs working on. Won't actually compile out of the box, but the tweaks should be pretty obvious for any body sufficiently daring. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4427 a592a061-630c-0410-9148-cb99ea01b6c8
57 lines
1.0 KiB
C++
57 lines
1.0 KiB
C++
/**
|
|
* \file QSpellcheckerDialog.h
|
|
* Copyright 2001 the LyX Team
|
|
* Read the file COPYING
|
|
*
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
*/
|
|
|
|
#ifndef QSPELLCHECKERDIALOG_H
|
|
#define QSPELLCHECKERDIALOG_H
|
|
|
|
#include <config.h>
|
|
|
|
#include "QSpellchecker.h"
|
|
#include "ui/QSpellcheckerDialogBase.h"
|
|
|
|
class QSpellcheckerDialog : public QSpellcheckerDialogBase
|
|
{ Q_OBJECT
|
|
|
|
public:
|
|
QSpellcheckerDialog(QSpellchecker * form);
|
|
|
|
protected slots:
|
|
virtual void stop() {
|
|
form_->stop();
|
|
}
|
|
|
|
virtual void acceptClicked() {
|
|
form_->accept();
|
|
}
|
|
virtual void spellcheckClicked() {
|
|
form_->spellcheck();
|
|
}
|
|
virtual void addClicked() {
|
|
form_->add();
|
|
}
|
|
virtual void replaceClicked() {
|
|
form_->replace();
|
|
}
|
|
virtual void ignoreClicked() {
|
|
form_->ignore();
|
|
}
|
|
virtual void optionsClicked() {
|
|
form_->options();
|
|
}
|
|
virtual void suggestionChanged(const QString &);
|
|
virtual void replaceChanged(const QString &);
|
|
|
|
protected:
|
|
virtual void closeEvent(QCloseEvent * e);
|
|
|
|
private:
|
|
QSpellchecker * form_;
|
|
};
|
|
|
|
#endif // QSPELLCHECKERDIALOG_H
|