]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSendto.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormSendto.C
index e94a4f5dd36765a5af099795652a26b14edbfe31..d2527031f02b2764b071c4767bf2f4f04f530a6c 100644 (file)
@@ -1,17 +1,15 @@
 /**
  * \file FormSendto.C
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming 
+ * \author Angus Leeming
  *
  * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "FormSendto.h"
 #include "forms/form_sendto.h"
@@ -19,7 +17,7 @@
 #include "xformsBC.h"
 #include "Tooltips.h"
 #include "xforms_helpers.h"
-#include "converter.h"
+#include "format.h"
 #include "gettext.h"
 #include FORMS_H_LOCATION
 
@@ -40,9 +38,9 @@ void FormSendto::build()
        setPrehandler(dialog_->input_command);
 
        // Manage the ok, apply, restore 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 tooltip mechanism
        string str = _("Export the buffer to this format before running the command below on it.");