Remove redundant files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5669 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-11-19 18:47:01 +00:00
parent 7248190d64
commit 575155f01f
4 changed files with 9 additions and 106 deletions

View 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

View File

@ -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();
}

View File

@ -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

View File

@ -95,8 +95,6 @@ libxforms_la_SOURCES = \
FormInclude.h \
FormIndex.C \
FormIndex.h \
FormInset.C \
FormInset.h \
FormLog.C \
FormLog.h \
FormMathsBitmap.C \