]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSpellchecker.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormSpellchecker.h
index 171687a075779fbc3d760a3d3b7c17542dbf2663..88a56d5b9ba340112333e352277e8749abf5b453 100644 (file)
@@ -1,53 +1,43 @@
 // -*- C++ -*-
 /**
  * \file FormSpellchecker.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Edwin Leuven
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMSPELLCHECKER_H
 #define FORMSPELLCHECKER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "FormBase.h"
 
 class ControlSpellchecker;
-struct FD_form_spellchecker;
+struct FD_spellchecker;
 
 /** This class provides an XForms implementation of the FormSpellchecker Dialog.
  */
-class FormSpellchecker : public FormCB<ControlSpellchecker, FormDB<FD_form_spellchecker> > {
+class FormSpellchecker
+       : public FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > {
 public:
        ///
-       FormSpellchecker(ControlSpellchecker &);
-   
+       FormSpellchecker();
 private:
        /// not needed.
        virtual void apply() {}
        /// Build the dialog
        virtual void build();
        /// not needed.
-       virtual void update();
-
-       /// update progress bar and suggestions
-       void partialUpdate(int);
+       virtual void update() {}
 
-       /// show an error message
-       void showMessage(const char * msg);
+       /// set suggestions and exit message
+       virtual void partialUpdate(int);
 
-       /// line clicked in browser, necessart for double clicking
-       int clickline_;
-       
        /// Filter the inputs
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-   
-       /// Fdesign generated method
-       FD_form_spellchecker  * build_spellchecker();
 };
 
 #endif // FORMSPELLCHECKER_H