]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormTabularCreate.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormTabularCreate.C
index 2607244e55fe0003eebf7e90ba91542b2fca2dfe..4e8f33c87e172a72243627c64754cc02cf537ba5 100644 (file)
@@ -5,29 +5,28 @@
  *
  * \author Jürgen Vigna
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
-#include <utility>
 
-
-#include "xformsBC.h"
-#include "ControlTabularCreate.h"
 #include "FormTabularCreate.h"
+#include "ControlTabularCreate.h"
 #include "forms/form_tabular_create.h"
+
 #include "Tooltips.h"
-#include "support/lstrings.h"
-#include FORMS_H_LOCATION
+#include "xformsBC.h"
 
+#include "lyx_forms.h"
 
 using std::make_pair;
+using std::string;
 
 
 typedef FormController<ControlTabularCreate, FormView<FD_tabular_create> > base_class;
 
 FormTabularCreate::FormTabularCreate(Dialog & parent)
-       : base_class(parent, _("Insert Tabular"))
+       : base_class(parent, _("Insert Table"))
 {}
 
 
@@ -36,9 +35,9 @@ void FormTabularCreate::build()
        dialog_.reset(build_tabular_create(this));
 
        // Manage the ok, apply and cancel/close buttons
-       bc().setOK(dialog_->button_ok);
-       bc().setApply(dialog_->button_apply);
-       bc().setCancel(dialog_->button_close);
+       bcview().setOK(dialog_->button_ok);
+       bcview().setApply(dialog_->button_apply);
+       bcview().setCancel(dialog_->button_close);
 
        // set up the tooltips
        string str = _("Number of columns in the tabular.");