Angus's compile patch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2618 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2001-08-29 15:37:39 +00:00
parent d18d31df77
commit a5c39240f7
8 changed files with 36 additions and 5 deletions

View File

@ -1,3 +1,20 @@
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> 2001-08-29 Edwin Leuven <leuven@fee.uva.nl>
* ui/QURLDialog.ui : minor layout tweak * ui/QURLDialog.ui : minor layout tweak

View File

@ -24,6 +24,8 @@
#include "ControlAboutlyx.h" #include "ControlAboutlyx.h"
#include "QAbout.h" #include "QAbout.h"
using std::getline;
typedef Qt2CB<ControlAboutlyx, Qt2DB<QAboutDialog> > base_class; typedef Qt2CB<ControlAboutlyx, Qt2DB<QAboutDialog> > base_class;
QAbout::QAbout(ControlAboutlyx & c) QAbout::QAbout(ControlAboutlyx & c)

View File

@ -243,7 +243,7 @@ void QCitationDialog::slotNextClicked()
} }
void QCitationDialog::doFind(biblio::Direction const dir) void QCitationDialog::doFind(biblio::Direction dir)
{ {
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo(); biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
string const str = searchED->text().latin1(); string const str = searchED->text().latin1();

View File

@ -46,6 +46,11 @@ QDocument::QDocument(ControlDocument & c)
: base_class(c, _("Document Settings")) : base_class(c, _("Document Settings"))
{ {
} }
#else
QDocument::QDocument(LyXView *, Dialogs *)
{
}
#endif #endif

View File

@ -33,7 +33,7 @@ class QDocument
{ {
public: public:
// FIXME!!!!!!! // FIXME!!!!!!!
QDocument(LyXView *, Dialogs *) {}; QDocument(LyXView *, Dialogs *);
private: private:
/// ///
enum State { enum State {

View File

@ -24,6 +24,9 @@
#include "QtLyXView.h" #include "QtLyXView.h"
#include "ControlLog.h" #include "ControlLog.h"
using std::ifstream;
using std::getline;
typedef Qt2CB<ControlLog, Qt2DB<QLogDialog> > base_class; typedef Qt2CB<ControlLog, Qt2DB<QLogDialog> > base_class;
QLog::QLog(ControlLog & c) QLog::QLog(ControlLog & c)

View File

@ -25,6 +25,8 @@
#include "QtLyXView.h" #include "QtLyXView.h"
#include "ControlPreamble.h" #include "ControlPreamble.h"
using std::getline;
QPreambleDialog::QPreambleDialog(QPreamble * form) QPreambleDialog::QPreambleDialog(QPreamble * form)
: QPreambleDialogBase(0, 0, false, 0), : QPreambleDialogBase(0, 0, false, 0),
form_(form) form_(form)

View File

@ -23,14 +23,16 @@
#include "lyxfunc.h" #include "lyxfunc.h"
#include "debug.h" #include "debug.h"
#include <qlistview.h>
#include <qcombobox.h>
using std::vector; using std::vector;
using std::pair; using std::pair;
using std::stack; using std::stack;
using std::endl; using std::endl;
using SigC::slot;
#include <qlistview.h>
#include <qcombobox.h>
QToc::QToc(LyXView *v, Dialogs *d) QToc::QToc(LyXView *v, Dialogs *d)
: dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0), : dialog_(0), lv_(v), d_(d), inset_(0), h_(0), u_(0), ih_(0),
/*toclist(0),*/ depth(1) /*toclist(0),*/ depth(1)