]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlSpellchecker.h
to much stuff for my liking...
[lyx.git] / src / frontends / controllers / ControlSpellchecker.h
index 9b4cb72a599617a160d27ce0ef3e01e02c9df70e..eeaf11e215b690d365662a267941a73b285b3044 100644 (file)
 #pragma interface
 #endif
 
-#include "ControlDialogs.h"
+#include "ControlDialog_impl.h"
 #include "sp_base.h"
 
 /** A controller for Spellchecker dialogs.
  */
-class ControlSpellchecker : public ControlDialog<ControlConnectBD> {
+class ControlSpellchecker : public ControlDialogBD {
 public:
        ///
        ControlSpellchecker(LyXView &, Dialogs &);
 
-       ///
-       ~ControlSpellchecker();
-
        /// replace word with replacement
        void replace(string const &);
 
@@ -44,9 +41,6 @@ public:
        /// ignore all occurances of word
        void ignoreAll();
        
-       /// quit spellchecker
-       void quit();
-
        /// stop checking
        void stop();
 
@@ -75,10 +69,9 @@ public:
 private:
        
        /// set the params before show or update
-       void show();
-
+       void setParams();
        /// clean-up on hide.
-       void hide();
+       void clearParams();
 
        /// not needed.
        virtual void apply() {}
@@ -112,5 +105,3 @@ private:
 };
 
 #endif // CONTROLSPELLCHECKER_H
-
-