Compile fixes with Compaq cxx.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5419 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-10-15 17:45:12 +00:00
parent 131f3f1844
commit 4ec4af2205
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-10-15 Angus Leeming <leeming@lyx.org>
* QBrowseBox.C (c-tor): default values should go only in the .h file.
* QDocument.C: add a using std::vector declaration.
2002-10-15 Dekel Tsur <dekelts@tau.ac.il> 2002-10-15 Dekel Tsur <dekelts@tau.ac.il>
* QLPainter.C (text): Unicode support. * QLPainter.C (text): Unicode support.

View File

@ -2,7 +2,7 @@
* \file QBrowseBox.C * \file QBrowseBox.C
* *
* Original file taken from klyx 0.10 sources: * Original file taken from klyx 0.10 sources:
* $Id: QBrowseBox.C,v 1.1 2002/10/09 08:59:02 leuven Exp $ * $Id: QBrowseBox.C,v 1.2 2002/10/15 17:45:12 leeming Exp $
* *
* \author Kalle Dalheimer ? * \author Kalle Dalheimer ?
* *
@ -25,7 +25,8 @@
#include "QBrowseBox.h" #include "QBrowseBox.h"
QBrowseBox::QBrowseBox(int rows, int cols, QWidget* parent=0 , const char* name=0 , WFlags fl=0 ) QBrowseBox::QBrowseBox(int rows, int cols, QWidget * parent,
const char * name, WFlags fl)
: QGridView() : QGridView()
{ {
setNumRows( rows ); setNumRows( rows );

View File

@ -45,6 +45,8 @@
#include <vector> #include <vector>
using std::vector;
typedef Qt2CB<ControlDocument, Qt2DB<QDocumentDialog> > base_class; typedef Qt2CB<ControlDocument, Qt2DB<QDocumentDialog> > base_class;
QDocument::QDocument() QDocument::QDocument()