]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FormPrint.h
ws cleanup
[lyx.git] / src / frontends / gnome / FormPrint.h
index fcf95ec54e6ce82498c2161b40b20145f7c46837..d5be0183de51b5f9e778437fee5ce25e7e78bb9b 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *       
+ *
  *          Copyright 2000 The LyX Team.
  *
  * ====================================================== */
@@ -15,7 +15,6 @@
 #define FORMPRINT_H
 
 #include "DialogBase.h"
-#include "support/utility.hpp"
 
 #include <gtk--/widget.h>
 #include <gtk--/radiobutton.h>
 class LyXView;
 class Dialogs;
 
-#ifdef SIGC_CXX_NAMESPACES
-using SigC::Connection;
-#endif
-
 /** This class provides an Gnome implementation of the FormPrint Dialog.
     The print dialog allows users to print their documents.
  */
-class FormPrint : public DialogBase, public noncopyable {
+class FormPrint : public DialogBase {
 public:
   /**@name Constructors and Destructors */
   //@{
@@ -48,7 +43,7 @@ public:
   ///
   ~FormPrint();
   //@}
-  
+
 
 private:
   /**@name Slot Methods */
@@ -58,22 +53,23 @@ private:
   /// Hide the dialog.
   void hide();
   /// Update the dialog.
-  void update();
+  void update() { }
+  void updateSlot(bool = false);
   /// Free memory
   void free();
   //@}
-  
+
   /**@name Dialog internal methods */
   //@{
   /// Apply from dialog
   void apply();
   //@}
-  
+
   /**@name Private Data */
   //@{
   /// Real GUI implementation.
   Gtk::Widget * dialog_;
-  
+
   Gtk::RadioButton * print_all_;
   Gtk::RadioButton * print_odd_;
   Gtk::RadioButton * print_even_;
@@ -82,7 +78,7 @@ private:
 
   Gtk::SpinButton  * print_from_;
   Gtk::SpinButton  * print_to_;
-  
+
   Gtk::RadioButton * order_normal_;
   Gtk::RadioButton * order_reverse_;
 
@@ -94,14 +90,14 @@ private:
 
   Gnome::Entry * printto_printcommand_;
   Gnome::FileEntry * printto_fileentry_;
-  
+
   /// Which LyXView do we belong to?
   LyXView * lv_;
   Dialogs * d_;
   /// Update connection.
-  Connection u_;
+  SigC::Connection u_;
   /// Hide connection.
-  Connection h_;
+  SigC::Connection h_;
   //@}
 };