From: Angus Leeming Date: Tue, 19 Nov 2002 18:47:01 +0000 (+0000) Subject: Remove redundant files. X-Git-Tag: 1.6.10~17942 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=575155f01f0d39e9b738f5b1a275c1e4590c429c;p=features.git Remove redundant files. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5669 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 683b0c7aa5..bcb96e15d4 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,10 @@ +2002-11-19 Angus Leeming + + * 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 * FileDialog.C: open/save name change @@ -15,7 +22,7 @@ * FormBase.h: make hide() virtual for prefs -2002-11-08 Angus Leeming +2002-11-08 Angus Leeming * 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 +2002-11-08 Angus Leeming * 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 index 086758351a..0000000000 --- a/src/frontends/xforms/FormInset.C +++ /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 - -#include FORMS_H_LOCATION - -#ifdef __GNUG__ -#pragma implementation -#endif - -#include "FormInset.h" - -#include "frontends/Dialogs.h" - -#include - -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 index 04b9fc6562..0000000000 --- a/src/frontends/xforms/FormInset.h +++ /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 - -#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 diff --git a/src/frontends/xforms/Makefile.am b/src/frontends/xforms/Makefile.am index 64713b513d..175f6d9a31 100644 --- a/src/frontends/xforms/Makefile.am +++ b/src/frontends/xforms/Makefile.am @@ -95,8 +95,6 @@ libxforms_la_SOURCES = \ FormInclude.h \ FormIndex.C \ FormIndex.h \ - FormInset.C \ - FormInset.h \ FormLog.C \ FormLog.h \ FormMathsBitmap.C \