]> git.lyx.org Git - lyx.git/commitdiff
Trivial compilation fixes.
authorAngus Leeming <leeming@lyx.org>
Wed, 24 Jul 2002 07:35:59 +0000 (07:35 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 24 Jul 2002 07:35:59 +0000 (07:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4769 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/FileDialog_private.C
src/frontends/qt2/QBibtex.C
src/frontends/qt2/QBibtexDialog.C
src/frontends/qt2/QCommandBuffer.C
src/frontends/qt2/QTexinfo.h

index eb9ab0574a755182990cd544baf482a14b2c42a4..0f7de6287b7101a02c70a129d3aec5d9f961dbaa 100644 (file)
@@ -1,3 +1,18 @@
+2002-07-24  Angus Leeming  <leeming@lyx.org>
+
+       * FileDialog_private.C (done): add a false to the arguments passed to
+       getLyXFunc.
+
+       * QBibtex.C:
+       * QCommandBuffer.C: add a using std::vector directive.
+
+       * QBibtexDialog.C: s/<vector.h>/<vector>/
+
+       * QCommandBuffer.C: remove trailing semi-colon at the end of the
+       namespace scope.
+
+       * QTexinfo.h: s/vector<string>/std::vector<string>/
+
 2002-07-23  Edwin Leuven <leuven@fee.uva.nl>
 
        * QBibtex.C: syle combobox instead of listbox
index 313b80f5c053f84f493f728c4b65d4711c05d208..4a90977dc8c562351b45f51e0b554c1f192d16b2 100644 (file)
@@ -34,7 +34,7 @@ void LyXFileDialog::done(int what)
                QDialog::done(what);
                return;
        } else if (what == QDialog::Accepted) {
-               lv_->getLyXFunc()->dispatch(action_, selectedFile().data());
+               lv_->getLyXFunc()->dispatch(action_, selectedFile().data(), false);
        }
 
        delete this;
index 44cfe202313c4be572a8a71bb29707216a829754..efd89f45ea174cb1836390491b9751bd323a6962 100644 (file)
@@ -24,7 +24,9 @@
 #include "QBibtexDialog.h"
 #include "QBibtex.h"
 #include "Qt2BC.h"
+
+using std::vector;
+
 typedef Qt2CB<ControlBibtex, Qt2DB<QBibtexDialog> > base_class;
 
 QBibtex::QBibtex(ControlBibtex & c, Dialogs &)
index 191140863bec9048d22890e9b6b8b90481cf9787..966c143e2f1d854a28dfb0b1feb55aa77f319834 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include <config.h>
-#include <vector.h
+#include <vector> 
 #include "ControlBibtex.h"
 #include "gettext.h"
 #include "debug.h"
index 828892432892d6acb9cb2c527e6e4af32b7dc3c5..7aef1cc1f8baf01ecb5f369dc5ffeabf41241664 100644 (file)
@@ -19,7 +19,9 @@
 #include <qcombobox.h>
 #include <qtoolbutton.h>
 #include <qpixmap.h>
+
+using std::vector;
+
 namespace {
  
 class QTempComboBox : public QComboBox {
@@ -31,7 +33,7 @@ public:
        void popup() { QComboBox::popup(); }
 };
 
-};
+}
  
 QCommandBuffer::QCommandBuffer(QtView * view, ControlCommandBuffer & control)
        : QToolBar(view), view_(view), controller_(control)
index 68a1169c597833db6c0a46e0fbf04f009f48281d..1e1daf5101f3e468614988a1857d884717183787 100644 (file)
@@ -45,11 +45,11 @@ private:
        ///
        ControlTexinfo::texFileSuffix activeStyle;
        ///
-       vector<string> cls_;
+       std::vector<string> cls_;
        ///
-       vector<string> sty_;
+       std::vector<string> sty_;
        ///
-       vector<string> bst_;
+       std::vector<string> bst_;
 };
 
 #endif // QTEXINFO_H