]> git.lyx.org Git - features.git/commitdiff
Remove redundant files.
authorAngus Leeming <leeming@lyx.org>
Tue, 19 Nov 2002 18:47:01 +0000 (18:47 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 19 Nov 2002 18:47:01 +0000 (18:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5669 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormInset.C [deleted file]
src/frontends/xforms/FormInset.h [deleted file]
src/frontends/xforms/Makefile.am

index 683b0c7aa5d8093600b8c16c4932a6394a144823..bcb96e15d4ee6c568e1541735b83d0ffc109cfd6 100644 (file)
@@ -1,3 +1,10 @@
+2002-11-19  Angus Leeming  <leeming@lyx.org>
+
+       * FormInset.[Ch]: removed; no longer used after John's port of the
+       tabular dialog to MCV.
+
+       * Makefile.am (libxforms_la_SOURCES): remove FormInset.[Ch].
+
 2002-11-17  John Levon  <levon@movementarian.org>
 
        * FileDialog.C: open/save name change
@@ -15,7 +22,7 @@
 
        * FormBase.h: make hide() virtual for prefs
  
-2002-11-08  Angus Leeming  <aleem@pneumon.bg.ic.ac.uk>
+2002-11-08  Angus Leeming  <leeming@lyx.org>
 
        * xforms_resize.[Ch]: sigh. Hack the "get scaling" part of
        fl_adjust_form_size out of the xforms source and put it in here as
@@ -24,7 +31,7 @@
 
        I've put a request into the xforms list.
 
-2002-11-08  Angus Leeming  <aleem@pneumon.bg.ic.ac.uk>
+2002-11-08  Angus Leeming  <leeming@lyx.org>
 
        * xforms_resize.[Ch]: replace scale_to_fit_tabs and scale_form with
        get_scale_to_fit and scale_form_horizontally, respectively. The
diff --git a/src/frontends/xforms/FormInset.C b/src/frontends/xforms/FormInset.C
deleted file mode 100644 (file)
index 0867583..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * \file FormInset.C
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Angus Leeming 
- *
- * Full author contact details are available in file CREDITS
- */
-
-#include <config.h>
-
-#include FORMS_H_LOCATION
-
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include "FormInset.h"
-
-#include "frontends/Dialogs.h"
-
-#include <boost/bind.hpp>
-
-FormInset::FormInset(LyXView & lv, Dialogs & d, string const & t)
-       : FormBaseBD(lv, d, t)
-{}
-
-
-void FormInset::connect()
-{
-       u_ = d_.updateBufferDependent.
-               connect(boost::bind(&FormInset::updateSlot, this, _1));
-       h_ = d_.hideBufferDependent.
-               connect(boost::bind(&FormInset::hide, this));
-       FormBaseDeprecated::connect();
-}
-
-
-void FormInset::disconnect()
-{
-       ih_.disconnect();
-       FormBaseBD::disconnect();
-}
-
-
-void FormInset::updateSlot(bool switched)
-{
-       if (switched)
-               hide();
-       else
-               update();
-}
diff --git a/src/frontends/xforms/FormInset.h b/src/frontends/xforms/FormInset.h
deleted file mode 100644 (file)
index 04b9fc6..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-// -*- C++ -*-
-/**
- * \file FormInset.h
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Angus Leeming 
- *
- * Full author contact details are available in file CREDITS
- */
-
-/* A base class for dialogs connected to insets. This class is temporary in that
- * it has been superceeded by the controller-view split.
- */
-
-#ifndef FORMCOMMAND_H
-#define FORMCOMMAND_H
-
-#include "FormBaseDeprecated.h"
-#include "insets/insetcommandparams.h"
-
-#include <boost/signals/connection.hpp>
-
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-class InsetCommand;
-
-/** This class is an XForms GUI base class to insets
- */
-class FormInset : public FormBaseBD {
-protected:
-       /// Constructor
-       FormInset(LyXView &, Dialogs &, string const &);
-
-       /// Connect signals. Also perform any necessary initialisation.
-       virtual void connect();
-       /// Disconnect signals. Also perform any necessary housekeeping.
-       virtual void disconnect();
-
-       /// bool indicates if a buffer switch took place
-       virtual void updateSlot(bool);
-
-       /// inset::hide connection.
-       boost::signals::connection ih_;
-};
-
-#endif
index 64713b513dd0c54103b30e9e1509bb6cef2d5c34..175f6d9a31f9f670c17ca2f064e9a8667309fa02 100644 (file)
@@ -95,8 +95,6 @@ libxforms_la_SOURCES = \
        FormInclude.h \
        FormIndex.C \
        FormIndex.h \
-       FormInset.C \
-       FormInset.h \
        FormLog.C \
        FormLog.h \
        FormMathsBitmap.C \