]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormInset.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormInset.h
index 40cedb80563c3b634d945fb211417d21af28e580..31d705ac558d0de35662d6014f11e7418c16125c 100644 (file)
 class FormInset : public FormBaseBD {
 protected:
        /// Constructor
-       FormInset( LyXView *, Dialogs *, string const &,
-                  ButtonPolicy * bp = new OkCancelReadOnlyPolicy,
-                  char const * close = N_("Close"),
-                  char const * cancel = N_("Cancel"));
+       FormInset(LyXView *, Dialogs *, string const &,
+                 ButtonPolicy * bp,
+                 char const * close = N_("Close"),
+                 char const * cancel = N_("Cancel"));
 
        /// Connect signals. Also perform any necessary initialisation.
        virtual void connect();
@@ -49,18 +49,18 @@ protected:
 class FormCommand : public FormInset {
 protected:
        /// Constructor
-       FormCommand( LyXView *, Dialogs *, string const &,
-                    ButtonPolicy * = new OkCancelReadOnlyPolicy,
-                    char const * close = N_("Close"),
-                    char const * cancel = N_("Cancel"));
+       FormCommand(LyXView *, Dialogs *, string const &,
+                   ButtonPolicy *,
+                   char const * close = N_("Close"),
+                   char const * cancel = N_("Cancel"));
 
        /// Disconnect signals. Also perform any necessary housekeeping.
        virtual void disconnect();
 
        /// Slot launching dialog to (possibly) create a new inset
-       void createInset( string const & );
+       void createInset(string const &);
        /// Slot launching dialog to an existing inset
-       void showInset( InsetCommand * );
+       void showInset(InsetCommand *);
 
        /// pointer to the inset passed through showInset
        InsetCommand * inset_;