]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormInset.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormInset.h
index 31d705ac558d0de35662d6014f11e7418c16125c..cd429b3da192f1bcb00511a7387450ff98ab277f 100644 (file)
@@ -4,7 +4,7 @@
  *
  *           LyX, The Document Processor
  *
- *           Copyright 2000 The LyX Team.
+ *           Copyright 2000-2001 The LyX Team.
  *
  * ======================================================
  */
@@ -12,7 +12,7 @@
 #ifndef FORMCOMMAND_H
 #define FORMCOMMAND_H
 
-#include "FormBase.h"
+#include "FormBaseDeprecated.h"
 #include "insets/insetcommand.h"
 
 #ifdef __GNUG__
 class FormInset : public FormBaseBD {
 protected:
        /// Constructor
-       FormInset(LyXView *, Dialogs *, string const &,
-                 ButtonPolicy * bp,
-                 char const * close = N_("Close"),
-                 char const * cancel = N_("Cancel"));
+       FormInset(LyXView *, Dialogs *, string const &);
 
        /// Connect signals. Also perform any necessary initialisation.
        virtual void connect();
@@ -39,7 +36,7 @@ protected:
        virtual void updateSlot(bool);
 
        /// inset::hide connection.
-       Connection ih_;
+       SigC::Connection ih_;
 };
 
 
@@ -49,10 +46,7 @@ protected:
 class FormCommand : public FormInset {
 protected:
        /// Constructor
-       FormCommand(LyXView *, Dialogs *, string const &,
-                   ButtonPolicy *,
-                   char const * close = N_("Close"),
-                   char const * cancel = N_("Cancel"));
+       FormCommand(LyXView *, Dialogs *, string const &);
 
        /// Disconnect signals. Also perform any necessary housekeeping.
        virtual void disconnect();