some fixes to prev patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@945 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2000-08-01 18:11:14 +00:00
parent db47e6bc77
commit 9f674c6eff
6 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,15 @@
2000-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/insets/insetcommand.h: Signals is not copyable so anoter
scheme for automatic hiding of forms must be used.
* src/frontends/xforms/FormCitation.h: don't inerit from
noncopyable, FormCommand already does that.
* src/frontends/xforms/FormToc.h: ditto
* src/frontends/xforms/FormUrl.h: ditto
* src/frontends/xforms/FormCitation.C: add include <algorithm>
2000-08-01 Angus Leeming <a.leeming@ic.ac.uk>
* src/insets/insetcommand.h (hide): new SigC::Signal0

View File

@ -13,6 +13,8 @@
#include FORMS_H_LOCATION
#include <algorithm>
#ifdef __GNUG__
#pragma implementation
#endif

View File

@ -21,7 +21,7 @@ struct FD_form_citation;
/** This class provides an XForms implementation of the FormCitation Dialog.
*/
class FormCitation : public FormCommand, public noncopyable {
class FormCitation : public FormCommand {
public:
///
enum State {

View File

@ -21,7 +21,7 @@ struct FD_form_toc;
/** This class provides an XForms implementation of the FormToc Dialog.
*/
class FormToc : public FormCommand, public noncopyable {
class FormToc : public FormCommand {
public:
/**@name Constructors and Destructors */
//@{

View File

@ -21,7 +21,7 @@ struct FD_form_url;
/** This class provides an XForms implementation of the FormUrl Dialog.
*/
class FormUrl : public FormCommand, public noncopyable {
class FormUrl : public FormCommand {
public:
/**@name Constructors and Destructors */
//@{

View File

@ -78,7 +78,7 @@ public:
explicit
InsetCommand(InsetCommandParams const &);
///
virtual ~InsetCommand() { hide(); };
virtual ~InsetCommand() { /*hide();*/ };
///
void Write(Buffer const *, std::ostream &) const;
@ -129,7 +129,7 @@ public:
///
void setParams(InsetCommandParams const &);
///
Signal0<void> hide;
//Signal0<void> hide;
private:
///
InsetCommandParams p_;