]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FormToc.h
Clean-up of the button controller.
[lyx.git] / src / frontends / gnome / FormToc.h
index f7d541a332c3aedeb1cda9cdc14c34d41372d67e..944b0e2c1490c63ede4f6b1a896dd1866b325b46 100644 (file)
@@ -1,4 +1,8 @@
 // -*- C++ -*-
+// THIS FILE IS NOT IN USE DUE TO API CHANGES.
+#include "frontends/xforms/FormToc.h"
+#if 0
+// -*- C++ -*-
 /* This file is part of
  * ====================================================== 
  *
@@ -18,7 +22,6 @@
 
 #include "DialogBase.h"
 #include "LString.h"
-#include "boost/utility.hpp"
 #include "insets/insetcommand.h"
 #include "buffer.h"
 
@@ -28,7 +31,7 @@
 
 /** This class provides an Gnome implementation of the FormToc Dialog.
  */
-class FormToc : public DialogBase, public noncopyable {
+class FormToc : public DialogBase {
 public:
   ///
   FormToc(LyXView *, Dialogs *);
@@ -41,7 +44,8 @@ private:
   void showInset( InsetCommand * const );
   
   /// Update dialog before showing it
-  virtual void update(bool = false);
+  virtual void update() { } 
+  virtual void updateSlot(bool = false);
   /// Explicitly free the dialog.
   void free();
   /// Create the dialog if necessary, update it and display it.
@@ -84,3 +88,4 @@ private:
 };
 
 #endif
+#endif