+2001-08-29 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * QAbout.C: added a using std::getline directive.
+
+ * QCitationDialog.C (doFind): removed const from argument to make it
+ consistent with the header file.
+
+ * QDocument.[Ch] (c-tor): moved declaration of into .C file. Compilation
+ was failing with "incomplete type is not allowed" in instantiation
+ of boost::scoped_ptr<QDocumentDialog> dialog_.
+
+ * QLog.C: added a couple of using std::xyz directives.
+
+ * QPreambleDialog.C: added a using std::getline directive.
+
+ * QToc.C: using SigC::slot directive.
+
2001-08-29 Edwin Leuven <leuven@fee.uva.nl>
* ui/QURLDialog.ui : minor layout tweak
#include "ControlAboutlyx.h"
#include "QAbout.h"
+using std::getline;
+
typedef Qt2CB<ControlAboutlyx, Qt2DB<QAboutDialog> > base_class;
QAbout::QAbout(ControlAboutlyx & c)
}
-void QCitationDialog::doFind(biblio::Direction const dir)
+void QCitationDialog::doFind(biblio::Direction dir)
{
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
string const str = searchED->text().latin1();
: base_class(c, _("Document Settings"))
{
}
+
+#else
+QDocument::QDocument(LyXView *, Dialogs *)
+{
+}
#endif
{
public:
// FIXME!!!!!!!
- QDocument(LyXView *, Dialogs *) {};
+ QDocument(LyXView *, Dialogs *);
private:
///
enum State {
#include "QtLyXView.h"
#include "ControlLog.h"
+using std::ifstream;
+using std::getline;
+
typedef Qt2CB<ControlLog, Qt2DB<QLogDialog> > base_class;
QLog::QLog(ControlLog & c)
#include "QtLyXView.h"
#include "ControlPreamble.h"
+using std::getline;
+
QPreambleDialog::QPreambleDialog(QPreamble * form)
: QPreambleDialogBase(0, 0, false, 0),
form_(form)
#include "lyxfunc.h"
#include "debug.h"
+#include <qlistview.h>
+#include <qcombobox.h>
+
using std::vector;
using std::pair;
using std::stack;
using std::endl;
+using SigC::slot;
+
-#include <qlistview.h>
-#include <qcombobox.h>
-
QToc::QToc(LyXView *v, Dialogs *d)
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
/*toclist(0),*/ depth(1)