-// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
- * Copyright 2000 The LyX Team.
+ * Copyright 2000-2001 The LyX Team.
*
* ======================================================
*/
#pragma implementation
#endif
-
#include "Dialogs.h"
#include "LyXView.h"
#include "FormInset.h"
+#include "xformsBC.h"
+
+using SigC::slot;
-FormInset::FormInset(LyXView * lv, Dialogs * d, string const & t,
- ButtonPolicy * bp,
- char const * close, char const * cancel)
- : FormBaseBD(lv, d, t, bp, close, cancel), ih_(0)
+FormInset::FormInset(LyXView * lv, Dialogs * d, string const & t)
+ : FormBaseBD(lv, d, t), ih_(0)
{}
connect(slot(this, &FormInset::updateSlot));
h_ = d_->hideBufferDependent.
connect(slot(this, &FormInset::hide));
- FormBase::connect();
+ FormBaseDeprecated::connect();
}
}
-FormCommand::FormCommand(LyXView * lv, Dialogs * d, string const & t,
- ButtonPolicy * bp,
- char const * close, char const * cancel)
- : FormInset(lv, d, t, bp, close, cancel),
+FormCommand::FormCommand(LyXView * lv, Dialogs * d, string const & t)
+ : FormInset(lv, d, t),
inset_(0)
{}
params.setFromString(arg);
if ( !arg.empty() )
- bc_.valid(); // so that the user can press Ok
+ bc().valid(); // so that the user can press Ok
show();
}