]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FormIndex.h
Clean-up of the button controller.
[lyx.git] / src / frontends / gnome / FormIndex.h
index e246806b38e1cefbef5063999b724d1e6c73898d..28132b648b49ba4a28a61405dd052c931d42404f 100644 (file)
 
 #include "DialogBase.h"
 #include "LString.h"
-#include "support/utility.hpp"
 #include "insets/insetcommand.h"
 
-#include <gtk--/widget.h>
+#include <gtk--/container.h>
 #include <gnome--/entry.h>
 #include <gtk--/label.h>
 
 /** This class provides an Gnome implementation of the FormIndex Dialog.
  */
-class FormIndex : public DialogBase, public noncopyable {
+class FormIndex : public DialogBase  {
 public:
   ///
   FormIndex(LyXView *, Dialogs *);
@@ -40,7 +39,8 @@ private:
   void showInset( InsetCommand * const );
   
   /// Update dialog before showing it
-  virtual void update();
+  virtual void update() { }
+  virtual void updateSlot(bool = false);
   /// Apply from dialog (modify or create inset)
   virtual void apply();
   /// Explicitly free the dialog.
@@ -64,14 +64,14 @@ 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_;
 
   /// Real GUI implementation.
-  Gtk::Widget * dialog_;
+  Gtk::Container * dialog_;
   Gnome::Entry * keyword_;
   Gtk::Button * b_ok;
   Gtk::Button * b_cancel;