]> git.lyx.org Git - features.git/commitdiff
Compile fixes with Compaq cxx.
authorAngus Leeming <leeming@lyx.org>
Tue, 15 Oct 2002 17:45:12 +0000 (17:45 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 15 Oct 2002 17:45:12 +0000 (17:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5419 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/QBrowseBox.C
src/frontends/qt2/QDocument.C

index 0732b3c656ca85e2fb7f43a579d124cac2cb4cc8..222a443e026d2b9da7db14f01683190144a5431a 100644 (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>
 
        * QLPainter.C (text): Unicode support.
index b964d252e8abcfb80032c8f472fce984fa97bd76..51fb7180d346dd72e6fe18512132d1fe7e075dbf 100644 (file)
@@ -2,7 +2,7 @@
  * \file QBrowseBox.C
  *
  * 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 ?
  *
@@ -25,7 +25,8 @@
 #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()
 {
     setNumRows( rows );
index 94732b5fef9e6f0bb21e41359e0ad02e8c949ab7..d4f2e7b89d1c8e52c83d79b4607fad05d77152a5 100644 (file)
@@ -45,6 +45,8 @@
 
 #include <vector>
 
+using std::vector;
+
 typedef Qt2CB<ControlDocument, Qt2DB<QDocumentDialog> > base_class;
 
 QDocument::QDocument()