]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FormCitation.h
ws cleanup
[lyx.git] / src / frontends / gnome / FormCitation.h
index 9c6c8c5072695114f8c69ceb0db54527fb96da18..15cd0212a6a96155d9743242f0e0c22e5c957e37 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
+ * ======================================================
  *
  *           LyX, The Document Processor
  *
@@ -18,7 +18,6 @@
 
 #include "DialogBase.h"
 #include "LString.h"
-#include "support/utility.hpp"
 #include "insets/insetcommand.h"
 
 #include <gtk--/container.h>
@@ -33,7 +32,7 @@
 
 /** This class provides an Gnome implementation of the FormCitation Dialog.
  */
-class FormCitation : public DialogBase, public noncopyable {
+class FormCitation : public DialogBase {
 public:
   ///
   FormCitation(LyXView *, Dialogs *);
@@ -45,8 +44,9 @@ private:
   /// Slot launching dialog to an existing inset
   void showInset( InsetCommand * const );
 
-  /// The following three methods do nothing in this implementation
   virtual void update() { }
+  virtual void updateSlot(bool = false);
+  /// The following two methods do nothing in this implementation
   virtual void apply() { }
   void show() { }
 
@@ -75,7 +75,7 @@ private:
   void moveFromActionToSearch();
   /// moves from Action to Edit "stage"
   void moveFromActionToEdit();
-  
+
   /// sort biblist
   void sortBibList(gint);
   /// update state of the buttons
@@ -104,13 +104,13 @@ private:
   /// adds item to clist_bib_
   void addItemToBibList(int i);
 
-  /// sets all widget pointers to NULL
+  /// sets all widget pointers to 0
   void cleanupWidgets();
-  /// initializes all non-NULL member widgets
+  /// initializes all non-0 member widgets
   void initWidgets();
-  /// stores configuration of all non-NULL member widgets
+  /// stores configuration of all non-0 member widgets
   void storeWidgets();
-  
+
   /** Which LyXFunc do we use?
       We could modify Dialogs to have a visible LyXFunc* instead and
       save a couple of bytes per dialog.
@@ -125,11 +125,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_;
 
   /// Real GUI implementation.
   Gtk::Container * dialog_;
@@ -147,12 +147,12 @@ private:
   Gnome::PixButton * button_up_;
   Gnome::PixButton * button_down_;
   Gtk::CheckButton * button_regexp_;
-  
+
   Gtk::CList * clist_selected_;
   Gtk::CList * clist_bib_;
-  
+
   Gtk::Paned * paned_info_;
-  
+
   std::vector<string> bibkeys;
   ///
   std::vector<string> bibkeysInfo;