]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiSpellchecker.h
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiSpellchecker.h
index 52fa3719f3ad57ea5e7d5b498c1c880215a678a0..19186ee2117e7096a96a59d39327a42c65b0d25e 100644 (file)
@@ -27,13 +27,12 @@ class SpellBase;
 
 namespace frontend {
 
-class GuiSpellchecker
-       : public GuiDialog, public Ui::SpellcheckerUi, public Controller
+class GuiSpellchecker : public GuiDialog, public Ui::SpellcheckerUi
 {
        Q_OBJECT
 
 public:
-       GuiSpellchecker(LyXView & lv);
+       GuiSpellchecker(GuiView & lv);
        ~GuiSpellchecker();
 
 public Q_SLOTS:
@@ -48,12 +47,8 @@ private Q_SLOTS:
        void reject();
 
 private:
-       ///
-       void closeEvent(QCloseEvent * e);
        /// update from controller
        void partialUpdate(int id);
-       /// parent controller
-       Controller & controller() { return *this; }
        ///
        void updateContents();