]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormPrint.C
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormPrint.C
index ec0bb3744008e0a980cbb788d4f812527d079cf6..a83db97f5a8a4da212a9f9cf55b567b6c013d8fc 100644 (file)
@@ -1,19 +1,16 @@
 /**
- * \file xforms/FormPrint.C
+ * \file FormPrint.C
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
  * \author Allan Rae
- * \author Angus Leeming 
+ * \author Angus Leeming
  *
  * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "xformsBC.h"
 #include "ControlPrint.h"
@@ -42,9 +39,9 @@ void FormPrint::build()
        dialog_.reset(build_print(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);
 
        // trigger an input event for cut&paste with middle mouse button.
        setPrehandler(dialog_->input_printer);
@@ -153,7 +150,7 @@ void FormPrint::update()
        // hmmm... maybe a bit weird but maybe not
        // we might just be remembering the last time this was printed.
        all_pages_.set(pp.all_pages);
-       
+
        string const from = ( pp.from_page ? tostr(pp.from_page) : string() );
        string const to   = ( pp.to_page   ? tostr(pp.to_page)   : string() );
        fl_set_input(dialog_->input_from_page, from.c_str());