]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FormRef.h
Clean-up of the button controller.
[lyx.git] / src / frontends / gnome / FormRef.h
index ac989ee15b31f934b06c24efef27895aa3ca5cf2..22a214fdbc4308099cbb72d9b0d7b08dcda891da 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "DialogBase.h"
 #include "LString.h"
-#include "boost/utility.hpp"
 #include "insets/insetcommand.h"
 
 #include <gtk--/container.h>
@@ -31,7 +30,7 @@
 
 /** This class provides an Gnome implementation of the FormRef Dialog.
  */
-class FormRef : public DialogBase, public noncopyable {
+class FormRef : public DialogBase {
 public:
   ///
   FormRef(LyXView *, Dialogs *);
@@ -72,7 +71,8 @@ private:
   void showInset( InsetCommand * const );
   
   /// Update dialog before showing it (not used in this implementation)
-  virtual void update(bool = false);
+  virtual void update() { } 
+  virtual void updateSlot(bool = false);
   /// Apply from dialog (modify or create inset)
   virtual void apply();
   /// Explicitly free the dialog.
@@ -114,11 +114,11 @@ private:
   /// the nitty-griity. What is modified and passed back
   InsetCommandParams params;
   /// Update connection.
-  Connection u_;
+  SigC::Connection u_;
   /// Hide connection.
-  Connection h_;
+  SigC::Connection h_;
   /// inset::hide connection.
-  Connection ih_;
+  SigC::Connection ih_;
   /// 
   std::vector<string> refs;
   ///