]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormExternal.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormExternal.h
index 620a1152e3a1b295c1e46c471578441513313cde..a6fce676eb6e794f1c3741c572c842cdd9d1f600 100644 (file)
@@ -1,44 +1,44 @@
 // -*- C++ -*-
 /**
  * \file FormExternal.h
- * Copyright 2000-2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author Asger Alstrup Nielsen
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming <leeming@lyx.org>
+ * \author John Levon
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMEXTERNAL_H
 #define FORMEXTERNAL_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "FormBase.h"
-#include "insets/insetexternal.h"
+#include "FormDialogView.h"
+
 
 class ControlExternal;
 struct FD_external;
 
 /// The class for editing External insets via a dialog
-class FormExternal : public FormCB<ControlExternal, FormDB<FD_external> > {
+class FormExternal
+       : public FormController<ControlExternal, FormView<FD_external> > {
 public:
        ///
-       FormExternal();
+       FormExternal(Dialog &);
 private:
        /// apply changes
-       void apply();
+       virtual void apply();
 
        /// build the dialog
-       void build();
+       virtual void build();
 
        /// update the dialog
-       void update();
+       virtual void update();
 
        /// Filter the inputs on callback from xforms
-       ButtonPolicy::SMInput input(FL_OBJECT *, long);
+       virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
        ///
        void updateComboChange();