]> git.lyx.org Git - lyx.git/commitdiff
doxygen fixes
authorLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 11 Mar 2002 22:47:41 +0000 (22:47 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Mon, 11 Mar 2002 22:47:41 +0000 (22:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3717 a592a061-630c-0410-9148-cb99ea01b6c8

47 files changed:
src/frontends/ChangeLog
src/frontends/Timeout.h
src/frontends/controllers/ControlAboutlyx.h
src/frontends/gnome/ChangeLog
src/frontends/gnome/FormError.h
src/frontends/gnome/FormToc.h
src/frontends/gnome/Timeout_pimpl.C
src/frontends/gnome/Timeout_pimpl.h
src/frontends/qt2/Alert_pimpl.C
src/frontends/qt2/ChangeLog
src/frontends/qt2/Dialogs.C
src/frontends/qt2/FileDialog.C
src/frontends/qt2/GUIRunTime.C
src/frontends/qt2/QParagraphDialog.C
src/frontends/qt2/QParagraphDialog.h
src/frontends/qt2/Qt2Base.h
src/frontends/qt2/Timeout_pimpl.C
src/frontends/qt2/Timeout_pimpl.h
src/frontends/xforms/Alert_pimpl.C
src/frontends/xforms/ChangeLog
src/frontends/xforms/Dialogs.C
src/frontends/xforms/FileDialog.C
src/frontends/xforms/FormBaseDeprecated.h
src/frontends/xforms/FormCitation.C
src/frontends/xforms/FormCitation.h
src/frontends/xforms/FormERT.C
src/frontends/xforms/FormERT.h
src/frontends/xforms/FormError.h
src/frontends/xforms/FormIndex.C
src/frontends/xforms/FormIndex.h
src/frontends/xforms/FormParagraph.C
src/frontends/xforms/FormPrint.C
src/frontends/xforms/FormPrint.h
src/frontends/xforms/FormRef.C
src/frontends/xforms/FormRef.h
src/frontends/xforms/FormTabularCreate.C
src/frontends/xforms/FormTabularCreate.h
src/frontends/xforms/FormThesaurus.C
src/frontends/xforms/FormThesaurus.h
src/frontends/xforms/FormToc.C
src/frontends/xforms/FormToc.h
src/frontends/xforms/FormUrl.C
src/frontends/xforms/FormUrl.h
src/frontends/xforms/GUIRunTime.C
src/frontends/xforms/Timeout_pimpl.C
src/frontends/xforms/Timeout_pimpl.h
src/frontends/xforms/Toolbar_pimpl.C

index 06069bc438bbb397bb20bf2318b3b0cfbaeabe0c..5ec83aed73ed4c3d2aac7f480bc5bf9ec0af2dc6 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * doxygen fixes.
+
 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * Dialogs.[Ch]: add static signal toggleTooltips and
index 3fe96c03449a9a40494300422dfe002161e601c0..5c0061abbcd945cd487a4b75a8891532e800ae12 100644 (file)
@@ -50,11 +50,12 @@ public:
        Timeout & setTimeout(unsigned int msec);
 
 private:
+       ///
        struct Pimpl;
+       ///
        friend struct Pimpl;
        /// implementation
        Pimpl * pimpl_;
-
        /// one-shot or repeating
        Type type;
        /// timeout value in milliseconds
index 1b921b67ee3f506641ef3750bcbd311c2aed87f2..3f0b33b7209a78047d08a7215291b185a734b9c1 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file ControlAboutLyX.h
+ * \file ControlAboutlyx.h
  * Copyright 2001 The LyX Team.
  * See the file COPYING.
  *
index 104c238f9cecf2dfc5da3b49e00335c7aab6e02c..c115f1cbba2d256973cf0035a80f9303931c455a 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * docygen fixes.
+
 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * GUIRunTime.C (initialiseGraphics): use the xforms image loader if
index 0b193e1a00a3e9778fc2e3be97f09c6be2aaff59..2a01a1ab544c56dd8e07c751f7db0d695ff956ae 100644 (file)
 #include "GnomeBase.h"
 
 namespace Gtk {
+
 class Button;
 class Text;
+
 }
 
 /**
@@ -34,9 +36,10 @@ public:
        ///
        FormError(ControlError & c);
        ///
-       ~FormError() {};
-
-       void apply() {};
+       ~FormError() {}
+       ///
+       void apply() {}
+       ///
        void update();
        
 private:
@@ -44,17 +47,15 @@ private:
        void build();
 
        /// Returns true if the dialog input is in a valid state.
-       bool validate() const {return true;};
-
+       bool validate() const { return true; }
 
+       ///
        void CloseClicked() { CancelButton(); }
        
-
        /// generated by accessors.py
        Gtk::Button * button_close() const;
        /// generated by accessors.py
        Gtk::Text * textarea() const;
-
 };
 
 #endif
index 944b0e2c1490c63ede4f6b1a896dd1866b325b46..562f5af5454bef76a6603e78aacea8532fa0c83f 100644 (file)
@@ -1,91 +1,91 @@
 // -*- C++ -*-
 // THIS FILE IS NOT IN USE DUE TO API CHANGES.
 #include "frontends/xforms/FormToc.h"
-#if 0
-// -*- C++ -*-
-/* This file is part of
- * ====================================================== 
- *
- *           LyX, The Document Processor
- *
- *           Copyright 2000 The LyX Team.
- *
- * ======================================================
- */
+// #if 0
+// // -*- C++ -*-
+// /* This file is part of
+//  * ====================================================== 
+//  *
+//  *           LyX, The Document Processor
+//  *
+//  *           Copyright 2000 The LyX Team.
+//  *
+//  * ======================================================
+//  */
 
-#ifndef FORMTOC_H
-#define FORMTOC_H
+// #ifndef FORMTOC_H
+// #define FORMTOC_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+// #ifdef __GNUG__
+// #pragma interface
+// #endif
 
-#include "DialogBase.h"
-#include "LString.h"
-#include "insets/insetcommand.h"
-#include "buffer.h"
+// #include "DialogBase.h"
+// #include "LString.h"
+// #include "insets/insetcommand.h"
+// #include "buffer.h"
 
-#include <gnome--/dialog.h>
-#include <gtk--/optionmenu.h>
-#include <gtk--/list.h>
+// #include <gnome--/dialog.h>
+// #include <gtk--/optionmenu.h>
+// #include <gtk--/list.h>
 
-/** This class provides an Gnome implementation of the FormToc Dialog.
- */
-class FormToc : public DialogBase {
-public:
-  ///
-  FormToc(LyXView *, Dialogs *);
-  ///
-  ~FormToc();
-private:
-  /// Slot launching dialog to (possibly) create a new inset
-  void createInset( string const & );
-  /// Slot launching dialog to an existing inset
-  void showInset( InsetCommand * const );
+// /** This class provides an Gnome implementation of the FormToc Dialog.
+//  */
+// class FormToc : public DialogBase {
+// public:
+//   ///
+//   FormToc(LyXView *, Dialogs *);
+//   ///
+//   ~FormToc();
+// private:
+//   /// Slot launching dialog to (possibly) create a new inset
+//   void createInset( string const & );
+//   /// Slot launching dialog to an existing inset
+//   void showInset( InsetCommand * const );
   
-  /// Update dialog before showing it
-  virtual void update() { } 
-  virtual void updateSlot(bool = false);
-  /// Explicitly free the dialog.
-  void free();
-  /// Create the dialog if necessary, update it and display it.
-  void show();
-  /// Hide the dialog.
-  void hide();
-  /// move cursor in LyXView
-  void apply(Buffer::TocItem);
-  /// change type of the list
-  void changeList(Buffer::TocType);
+//   /// Update dialog before showing it
+//   virtual void update() { } 
+//   virtual void updateSlot(bool = false);
+//   /// Explicitly free the dialog.
+//   void free();
+//   /// Create the dialog if necessary, update it and display it.
+//   void show();
+//   /// Hide the dialog.
+//   void hide();
+//   /// move cursor in LyXView
+//   void apply(Buffer::TocItem);
+//   /// change type of the list
+//   void changeList(Buffer::TocType);
   
-  /** Which LyXFunc do we use?
-      We could modify Dialogs to have a visible LyXFunc* instead and
-      save a couple of bytes per dialog.
-  */
-  LyXView * lv_;
-  /** Which Dialogs do we belong to?
-      Used so we can get at the signals we have to connect to.
-  */
-  Dialogs * d_;
-  /// pointer to the inset passed through showInset (if any)
-  InsetCommand * inset_;
-  /// the nitty-griity. What is modified and passed back
-  InsetCommandParams params;
-  /// Update connection.
-  Connection u_;
-  /// Hide connection.
-  Connection h_;
-  /// inset::hide connection.
-  Connection ih_;
+//   /** Which LyXFunc do we use?
+//       We could modify Dialogs to have a visible LyXFunc* instead and
+//       save a couple of bytes per dialog.
+//   */
+//   LyXView * lv_;
+//   /** Which Dialogs do we belong to?
+//       Used so we can get at the signals we have to connect to.
+//   */
+//   Dialogs * d_;
+//   /// pointer to the inset passed through showInset (if any)
+//   InsetCommand * inset_;
+//   /// the nitty-griity. What is modified and passed back
+//   InsetCommandParams params;
+//   /// Update connection.
+//   Connection u_;
+//   /// Hide connection.
+//   Connection h_;
+//   /// inset::hide connection.
+//   Connection ih_;
 
-  /// Real GUI implementation.
-  Gnome::Dialog * dialog_;
+//   /// Real GUI implementation.
+//   Gnome::Dialog * dialog_;
 
-  Gtk::OptionMenu * choice_;
+//   Gtk::OptionMenu * choice_;
 
-  Gtk::List * list_;
+//   Gtk::List * list_;
 
-  bool ignore_callback_;
-};
+//   bool ignore_callback_;
+// };
 
 #endif
 #endif
index ba31cc2207afe4586c8c5516afcd0423950147fb..808976e5d9d720ba6f852050a11ef664e9c20aee 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Timeout_pimpl.C
+ * \file gnome/Timeout_pimpl.C
  * Copyright 2001 LyX Team
  * Read COPYING
  *
index 42c6ee90690f57035f4a129118d015b6cc5d5015..f5bfd0a09c9dcc9e5e131da77615e3aaf28c205a 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file Timeout_pimpl.h
+ * \file gnome/Timeout_pimpl.h
  * Copyright 2001 LyX Team
  * Read COPYING
  *
index 4da68f2ac75f58fc0a9895e6cabe6141a87f4f0b..2be46343b9cfe4cfa989f9e6800bd47179ba1eb8 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Alert_pimpl.C
+ * \file qt2/Alert_pimpl.C
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
index bf01b83fae1881bb7f3a7775186e0d98bcc4dc95..219be1c5487097c25f8c3c748ba572ed358e9149 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * docygen fixes.
+
 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * GUIRunTime.C (initialiseGraphics): use the xforms image loader if
index 401d460dc655e724105fa6a1cf59f458a3c0c483..fb92b5691de9784369a24307fac6a3c8e0d89314 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Dialogs.C
+ * \file qt2/Dialogs.C
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
index 6c0a3d1b5b7304802d16ca2c054c8905d756e8de..2afa3e2a80f88002b0103c43d2a119fa286d6325 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FileDialog.C
+ * \file qt2/FileDialog.C
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
index 7b9aeab955152647ef5bca4df3b0318f327ebd5f..dd9dea9184410d76a9ec9e550294e25c035895c4 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file GUIRunTime.C
+ * \file qt2/GUIRunTime.C
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
index c13e9d05e9092b6632d53e807529533f6bb0c863..58da428a3672acd448097bc6a0285e24d05d798d 100644 (file)
 
 using std::endl;
 
-QParagraphDialog::QParagraphDialog(QParagraph * form, QWidget * parent, const char * name, bool modal, WFlags fl)
+QParagraphDialog::QParagraphDialog(QParagraph * form, QWidget * parent,
+                                  char const * name, bool modal, WFlags fl)
        : QParagraphDialogBase(parent, name, modal, fl), 
-       form_(form)
+         form_(form)
 {
        setCaption(name);
 }
@@ -49,7 +50,7 @@ void QParagraphDialog::setReadOnly(bool readonly)
 }
 
 
-void QParagraphDialog::setLabelWidth(const char *text)
+void QParagraphDialog::setLabelWidth(char const * text)
 {
        // FIXME: should be cleverer here
        if (!strcmp(_("Senseless with this layout!"),text)) {
@@ -64,20 +65,22 @@ void QParagraphDialog::setLabelWidth(const char *text)
 
 void QParagraphDialog::setAlign(int type)
 {
-       int item=0;
+       int item = 0;
        switch (type) {
-               case LYX_ALIGN_BLOCK : item=0; break;
-               case LYX_ALIGN_LEFT : item=1; break;
-               case LYX_ALIGN_RIGHT : item=2; break;
-               case LYX_ALIGN_CENTER : item=3; break;
+               case LYX_ALIGN_BLOCK: item = 0; break;
+               case LYX_ALIGN_LEFT: item = 1; break;
+               case LYX_ALIGN_RIGHT: item = 2; break;
+               case LYX_ALIGN_CENTER: item = 3; break;
                default:
-                       item=0;
+                       item = 0;
+                       break;
        }
        alignment->setCurrentItem(item);
 }
 
 
-void QParagraphDialog::setChecks(bool labove, bool lbelow, bool pabove, bool pbelow, bool noindent)
+void QParagraphDialog::setChecks(bool labove, bool lbelow, bool pabove,
+                                bool pbelow, bool noindent)
 {
        lineAbove->setChecked(labove);
        lineBelow->setChecked(lbelow);
@@ -87,9 +90,11 @@ void QParagraphDialog::setChecks(bool labove, bool lbelow, bool pabove, bool pbe
 }
 
 
-void QParagraphDialog::setSpace(VSpace::vspace_kind kindabove, VSpace::vspace_kind kindbelow, bool keepabove, bool keepbelow)
+void QParagraphDialog::setSpace(VSpace::vspace_kind kindabove,
+                               VSpace::vspace_kind kindbelow,
+                               bool keepabove, bool keepbelow)
 {
-       int item=0;
+       int item = 0;
        
        switch (kindabove) {
                case VSpace::NONE: item = 0; break;
@@ -126,9 +131,11 @@ void QParagraphDialog::setSpace(VSpace::vspace_kind kindabove, VSpace::vspace_ki
 
 
 void QParagraphDialog::setAboveLength(float val, float plus, float minus, 
-       LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
+                                     LyXLength::UNIT vunit,
+                                     LyXLength::UNIT punit,
+                                     LyXLength::UNIT munit)
 {
-       if (vunit==LyXLength::UNIT_NONE) {
+       if (vunit == LyXLength::UNIT_NONE) {
                spacingAboveValue->setText("");
                spacingAbovePlus->setText("");
                spacingAboveMinus->setText("");
@@ -146,9 +153,11 @@ void QParagraphDialog::setAboveLength(float val, float plus, float minus,
 
 
 void QParagraphDialog::setBelowLength(float val, float plus, float minus, 
-       LyXLength::UNIT vunit, LyXLength::UNIT punit, LyXLength::UNIT munit)
+                                     LyXLength::UNIT vunit,
+                                     LyXLength::UNIT punit,
+                                     LyXLength::UNIT munit)
 {
-       if (vunit==LyXLength::UNIT_NONE) {
+       if (vunit == LyXLength::UNIT_NONE) {
                spacingBelowValue->setText("");
                spacingBelowPlus->setText("");
                spacingBelowMinus->setText("");
@@ -164,11 +173,15 @@ void QParagraphDialog::setBelowLength(float val, float plus, float minus,
 }
 
 
-void QParagraphDialog::setExtra(float widthval, LyXLength::UNIT units, const string percent, int align, 
-       bool hfill, bool startminipage, Paragraph::PEXTRA_TYPE type)
+void QParagraphDialog::setExtra(float widthval, LyXLength::UNIT units,
+                               string const & percent, int align, 
+                               bool hfill, bool startminipage,
+                               Paragraph::PEXTRA_TYPE type)
 {
-       if (type!=Paragraph::PEXTRA_NONE) {
-               lyxerr[Debug::GUI] << "percent : $" << percent << "$ widthval " << widthval << " unit " << long(units) << endl;
+       if (type != Paragraph::PEXTRA_NONE) {
+               lyxerr[Debug::GUI] << "percent : $" << percent << "$ widthval "
+                                  << widthval << " unit " << long(units)
+                                  << endl;
                if (percent != "") {
                        extraWidth->setText(percent.c_str());
                        extraUnit->setCurrentItem(11);
@@ -245,7 +258,7 @@ LyXGlueLength QParagraphDialog::getBelowLength() const
 
 LyXLength QParagraphDialog::getExtraWidth() const
 {
-       if (extraUnit->currentItem()!=11) {
+       if (extraUnit->currentItem() != 11) {
                LyXLength len( 
                         (extraWidth->text()).toDouble(), 
                         getLyXLength(extraUnit->currentItem())
@@ -269,7 +282,7 @@ string QParagraphDialog::getExtraWidthPercent() const
 }
 
 
-const char * QParagraphDialog::getLabelWidth() const 
+char const * QParagraphDialog::getLabelWidth() const 
 {
        return labelWidth->text(); 
 }
@@ -387,7 +400,8 @@ VSpace::vspace_kind QParagraphDialog::getSpaceKind(int val) const
                case 5: return VSpace::VFILL;
                case 6: return VSpace::LENGTH;
                default:
-                       lyxerr[Debug::GUI] << "Unknown kind combo entry " << val << std::endl;
+                       lyxerr[Debug::GUI] << "Unknown kind combo entry "
+                                          << val << std::endl;
                }
        return VSpace::NONE;
 }
@@ -408,7 +422,8 @@ LyXLength::UNIT QParagraphDialog::getLyXLength(int val) const
                case 9: return LyXLength::DD;
                case 10: return LyXLength::CC;
                default:
-                       lyxerr[Debug::GUI] << "Unknown kind combo entry " << val << std::endl;
+                       lyxerr[Debug::GUI] << "Unknown kind combo entry "
+                                          << val << std::endl;
        }
        return LyXLength::UNIT_NONE;
 }
@@ -416,7 +431,7 @@ LyXLength::UNIT QParagraphDialog::getLyXLength(int val) const
        
 int QParagraphDialog::getItem(LyXLength::UNIT unit) const 
 {
-       int item=0;
+       int item = 0;
        switch (unit) {
                case LyXLength::CM: item = 0; break;
                case LyXLength::IN: item = 1; break;
@@ -432,7 +447,8 @@ int QParagraphDialog::getItem(LyXLength::UNIT unit) const
                case LyXLength::MU: item = 0; break;
                case LyXLength::UNIT_NONE: item = 0; break;
                default:
-                       lyxerr[Debug::GUI] << "Unknown unit " << long(unit) << endl;
+                       lyxerr[Debug::GUI] << "Unknown unit " << long(unit)
+                                          << endl;
        }
        return item;
 }
@@ -440,7 +456,7 @@ int QParagraphDialog::getItem(LyXLength::UNIT unit) const
 
 void QParagraphDialog::enable_extraOptions(int item)
 {
-       bool const enable = (item!=0);
+       bool const enable = (item != 0);
        extraWidth->setEnabled(enable);
        extraWidthL->setEnabled(enable);
        extraUnit->setEnabled(enable);
@@ -450,13 +466,13 @@ void QParagraphDialog::enable_extraOptions(int item)
 
 void QParagraphDialog::enable_minipageOptions(int item)
 {
-       minipageOptions->setEnabled( item==1 );
+       minipageOptions->setEnabled( item == 1 );
 }
 
 
 void QParagraphDialog::enable_spacingAbove(int item)
 {
-       bool const enable = (item==6);
+       bool const enable = (item == 6);
        spacingAboveValue->setEnabled(enable);
        spacingAbovePlus->setEnabled(enable);
        spacingAboveMinus->setEnabled(enable);
@@ -464,7 +480,7 @@ void QParagraphDialog::enable_spacingAbove(int item)
        spacingAbovePlusUnit->setEnabled(enable);
        spacingAboveMinusUnit->setEnabled(enable);
        spacingAboveUnitsL->setEnabled(enable);
-       bool const enablel = ( (item==6) || (item!=6 && spacingBelow->currentItem()==6) );
+       bool const enablel = ( (item == 6) || (item != 6 && spacingBelow->currentItem() == 6) );
        spacingValueL->setEnabled(enablel);
        spacingPlusL->setEnabled(enablel);
        spacingMinusL->setEnabled(enablel);
@@ -473,7 +489,7 @@ void QParagraphDialog::enable_spacingAbove(int item)
 
 void QParagraphDialog::enable_spacingBelow(int item)
 {
-       bool const enable = (item==6);
+       bool const enable = (item == 6);
        spacingBelowValue->setEnabled(enable);
        spacingBelowPlus->setEnabled(enable);
        spacingBelowMinus->setEnabled(enable);
@@ -481,7 +497,7 @@ void QParagraphDialog::enable_spacingBelow(int item)
        spacingBelowPlusUnit->setEnabled(enable);
        spacingBelowMinusUnit->setEnabled(enable);
        spacingBelowUnitsL->setEnabled(enable);
-       bool const enablel = ( (item==6) || (item!=6 && spacingAbove->currentItem()==6) );
+       bool const enablel = ( (item == 6) || (item!=6 && spacingAbove->currentItem() == 6) );
        spacingValueL->setEnabled(enablel);
        spacingPlusL->setEnabled(enablel);
        spacingMinusL->setEnabled(enablel);
index a448ea8a17ab844f5654f9498e4a9993f24cd23e..67f1d04f626f72d4d7ce424422fe35130c734b3c 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /**
  * \file QParagraphDialog.h
  * Copyright 2001 LyX Team
@@ -25,23 +26,28 @@ class QParagraphDialog : public QParagraphDialogBase
 { Q_OBJECT
          
 public:
-       QParagraphDialog(QParagraph * form, QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags fl = 0);
+       QParagraphDialog(QParagraph * form, QWidget * parent = 0,
+                        char const * name = 0, bool modal = FALSE,
+                        WFlags fl = 0);
        ~QParagraphDialog();
        
        void setReadOnly(bool);
-       void setLabelWidth(const char *);
+       void setLabelWidth(char const *);
        void setAlign(int);
        void setChecks(bool, bool, bool, bool, bool);
        void setSpace(VSpace::vspace_kind, VSpace::vspace_kind, bool, bool);
-       void setAboveLength(float, float, float, LyXLength::UNIT, LyXLength::UNIT, LyXLength::UNIT);
-       void setBelowLength(float, float, float, LyXLength::UNIT, LyXLength::UNIT, LyXLength::UNIT);
-       void setExtra(float, LyXLength::UNIT, const string, int, bool, bool, Paragraph::PEXTRA_TYPE);
+       void setAboveLength(float, float, float,
+                           LyXLength::UNIT, LyXLength::UNIT, LyXLength::UNIT);
+       void setBelowLength(float, float, float,
+                           LyXLength::UNIT, LyXLength::UNIT, LyXLength::UNIT);
+       void setExtra(float, LyXLength::UNIT,
+                     string const &, int, bool, bool, Paragraph::PEXTRA_TYPE);
        LyXGlueLength getAboveLength() const;
        LyXGlueLength getBelowLength() const;
        LyXLength getExtraWidth() const;
        string getExtraWidthPercent() const;
        // FIXME: return a std::string ! 
-       const char * getLabelWidth() const;
+       char const * getLabelWidth() const;
        LyXAlignment getAlign() const;
        bool getAboveKeep() const;
        bool getBelowKeep() const;
@@ -56,17 +62,13 @@ public:
        Paragraph::MINIPAGE_ALIGNMENT getExtraAlign() const;
        bool getHfillBetween() const;
        bool getStartNewMinipage() const;
-       
 protected:
        void closeEvent (QCloseEvent * e);
-       
 private:
        QParagraph * form_;
        VSpace::vspace_kind getSpaceKind(int val) const;
        LyXLength::UNIT getLyXLength(int val) const;
        int getItem(LyXLength::UNIT unit) const;
-       
-       
 protected slots:
        void apply_adaptor();
        void cancel_adaptor();
index 2bdc6ad7be22bba1c003fec21e1ba6249ebd83fe..272c504ac2a9e7b86af420f1c5927f1364503b44 100644 (file)
@@ -42,7 +42,7 @@ class Qt2Base : public QObject, public ViewBC<Qt2BC>
        Q_OBJECT
 public:
        ///
-       Qt2Base(ControlButtons &, const QString &);
+       Qt2Base(ControlButtons &, QString const &);
        ///
        virtual ~Qt2Base() {}
 
@@ -83,7 +83,7 @@ protected slots:
 
 private:
        /// Pointer to the actual instantiation of xform's form
-       virtual QDialog* form() const = 0;
+       virtual QDialog * form() const = 0;
 
 private:
        /// dialog title, displayed by WM.
@@ -95,7 +95,7 @@ template <class Dialog>
 class Qt2DB: public Qt2Base
 {
 protected:
-       Qt2DB(ControlButtons &, const QString &);
+       Qt2DB(ControlButtons &, QString const &);
  
        /// update the dialog 
        virtual void update();
@@ -113,7 +113,7 @@ protected:
 
 
 template <class Dialog>
-Qt2DB<Dialog>::Qt2DB(ControlButtons & c, const QString & t)
+Qt2DB<Dialog>::Qt2DB(ControlButtons & c, QString const & t)
        : Qt2Base(c, t)
 {}
 
@@ -166,14 +166,14 @@ public:
 
 protected:
        ///
-       Qt2CB(ControlButtons &, const QString&);
+       Qt2CB(ControlButtons &, QString const &);
        /// The parent controller
        Controller & controller() const;
 };
 
 
 template <class Controller, class Base>
-Qt2CB<Controller, Base>::Qt2CB(ControlButtons & c, const QString& t)
+Qt2CB<Controller, Base>::Qt2CB(ControlButtons & c, QString const & t)
        : Base(c, t)
 {}
 
index cd538ff5c6843758f2ba86568d09cd97d56be9bc..41bde71e8c35edd696ebfc421064c2452dd86704 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Timeout_pimpl.C
+ * \file qt2/Timeout_pimpl.C
  * Copyright 2001 LyX Team
  * Read COPYING
  *
index 5d94ff9b33ab781953b88348fe49a39124f038b1..cfaf13f73715f93239cf2aef8ea8f2100fbea6f0 100644 (file)
@@ -1,10 +1,12 @@
+// -*- C++ -*-
 /**
- * \file Timeout_pimpl.h
+ * \file qt2/Timeout_pimpl.h
  * Copyright 2001 LyX Team
  * Read COPYING
  *
  * \author John Levon
  */
+
 #ifndef TIMEOUTPIMPL_H
 #define TIMEOUTPIMPL_H
 
index 033b1851243c28ac58b7d7fcdd386fd2582b0919..58bc23dd31067a2767e4e06f67ce5443a15b3fe0 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Alert_pimpl.C
+ * \file xforms/Alert_pimpl.C
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
index 49e746c87d5d7b92d56e94f75a5aea44f6db71e9..f4e75063d9d1f9dccd798ff898f42efeac13581e 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * doxygen fixes.
+
 2002-03-09  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * FeedbackController.C: improve a comment.
index 7d8e7bfd353ee05e90368003c302422571b67aab..dd327660d76bccc79d94c683322dc4ccf5fb723d 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Dialogs.C
+ * \file xforms/Dialogs.C
  * Copyright 1995 Matthias Ettrich
  * Copyright 1995-2001 The LyX Team.
  * See the file COPYING.
index 0e42bb4f31efccd2932079463b0f3fc12ec95229..6dad5b4e9b311457f60d4227bbc7a8ee995a1cfe 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FileDialog.C
+ * \file xforms/FileDialog.C
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
index 33958833dbbea824f196d15d5acd89e77d01ef93..d274cca8ed9387b8ab966da9b1183a3dcbe26ce6 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormBase.h
+ * \file FormBaseDeprecated.h
  * Copyright 2000-2002 the LyX Team
  * Read the file COPYING
  *
index 2f583c1bab42e616ad8f626a1e19eb9085cd9f5a..dc6a40a6bca407c88d1bee9601f604275e1327c8 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormCitation.C
+ * \file xforms/FormCitation.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
index 2d40374d2fa1f4f94aa7f3a411a325f2c611b049..1797c13e05a3956eb55c92e72a478e83c1602427 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormCitation.h
+ * \file xforms/FormCitation.h
  * Copyright 2000-2002 the LyX Team
  * Read the file COPYING
  *
index 73e46a214a8504ba0f834968cca6401f280dcba1..d418c0629f2f45c438551541ff236bdb5fe07fbc 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormERT.C
+ * \file xforms/FormERT.C
  * Copyright 2001 The LyX Team.
  * See the file COPYING.
  *
index 9d943da098f2e34df540f46fbf97104a4369cbdd..c90cc4fbfcc1344f0d16cab3a22e19001d755fde 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormERT.h
+ * \file xforms/FormERT.h
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
index cedc1f917cbdcf7fbd0ce767e8b75375530d3167..78ae1f95ef452c710ee44b2da75b46b2aede96db 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormError.h
+ * \file xforms/FormError.h
  * Copyright 2000-2002 the LyX Team
  * Read the file COPYING
  *
index 7c09d69658c220b78ed7b4f84a095b81781d356d..8679e52a595e8292ba2f2f2160ef13643985ed7b 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormIndex.C
+ * \file xforms/FormIndex.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
index 5901908284614aaa06d9e98c7ff3578b0da6c642..2cec8d24645f2cef3f72cd28046665556f7b18ca 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormIndex.h
+ * \file xforms/FormIndex.h
  * Copyright 2000-2001 the LyX Team
  * Read the file COPYING
  *
index c489de5156ff357f2eee067624246d0db8e1a405..dd5c4bb3151dffefeb08cf3fbbb08a50fb836d95 100644 (file)
@@ -78,9 +78,9 @@ void FormParagraph::changedParagraph()
        Paragraph const * const p = getCurrentParagraph();
        if (p == 0 || p == par_)
                return;
-#ifdef WITH_WARNINGS
-#warning Please someone of you GUII people have a look at this!
-#endif
+
+       // OBS FIX LOOK HERE
+
        // shouldn't we chage the par_ pointer too?
        // anyway for me the below function does just nothing!
        // (Jug 20020108)
@@ -133,7 +133,6 @@ void FormParagraph::build()
 
     // Create the contents of the unit choices
     // Don't include the "%" terms...
-#warning A bit dangerous... (Lgb)
     vector<string> units_vec = getLatexUnits();
 #if 0
     for (vector<string>::iterator it = units_vec.begin();
index 2b3db0e10da5daf6ed228a1877ded7f0851f6ef2..859e19f6a713a391f33590f8b55c82f42b98edd9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * \file FormPrint.C
+ * \file xforms/FormPrint.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
index c250772e95b0d1a4bf9aa710ef216a20b1107b24..92efbb548748439b0205a0d08f94aafb1d283698 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormPrint.h
+ * \file xforms/FormPrint.h
  * Copyright 2002 the LyX Team
  * Copyright 1999-2001 Allan Rae
  * Read the file COPYING
index f88f08e565e4d30bb3d49ab41918fcb554e6c3a8..8a0f6f1efa6880e84bac3a3ded661abfac033d58 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormRef.C
+ * \file xforms/FormRef.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
index 0170f6fd24e367d70c76aaaa65a6ec471bff5e4e..e69e8d1e174076ad31002239be82a2be6b5a4ada 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormRef.h
+ * \file xforms/FormRef.h
  * Copyright 2000-2001 the LyX Team
  * Read the file COPYING
  *
index 738e8aaebfb93d627adebc9bd1308dd6e1f2ba29..822f38d0aef22aaeca4523d20bc6a76f131d11bb 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormTabularCreate.C
+ * \file xforms/FormTabularCreate.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
index 9e339147e33eff1bb66674b38687790a8b42e29b..254e047a1c0c4c3a88de3041f5373d1bc0e588ed 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormTabularCreate.h
+ * \file xforms/FormTabularCreate.h
  * Copyright 1995 Matthias Ettrich
  * Copyright 1995-2001 the LyX Team
  * Read the file COPYING
index 8cdcff3aff715d9b0da92d06b360d946657073b8..4f2b097ea7cadebfb547a7b0363e9aec661beced 100644 (file)
@@ -27,9 +27,10 @@ using std::vector;
 
 typedef FormCB<ControlThesaurus, FormDB<FD_form_thesaurus> > base_class;
 
+
 FormThesaurus::FormThesaurus(ControlThesaurus & c)
        : base_class(c, _("LyX: Thesaurus"), false),
-       clickline_(-1)
+         clickline_(-1)
 {
 }
 
index cba55d52e05336b1b6812bc0330da6b56800ffe8..a4a93fda8f682b210acc394cbbd311567549383b 100644 (file)
@@ -43,10 +43,10 @@ private:
        FD_form_thesaurus * build_thesaurus();
 
        /// set the replace word properly
-       void setReplace(const string & templ, const string & nstr);
+       void setReplace(string const & templ, string const & nstr);
 
        /// update browser entries
-       void updateMeanings(const string & str);
+       void updateMeanings(string const & str);
 
        /// Filter the inputs
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
index a0ad95bf15c873065dd946b722fafa917f992dca..cffdfc48c961ffe72b306e8132920cbc938c94e3 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormToc.C
+ * \file xforms/FormToc.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
index f44b039455157926f9a27479b02968c14eb6f1d4..079d5d986ea7271a0abf1bb16a9c6bf02b28e873 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormToc.h
+ * \file xforms/FormToc.h
  * Copyright 2000-2001 the LyX Team
  * Read the file COPYING
  *
index a190a463b10d57111223ece76f9673d6582ad838..9cfffb616f8ed6f1a3ac322d216142b86912d0ab 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormUrl.C
+ * \file xforms/FormUrl.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
index 37319eede779c0837e2467bf46f3a18cff6dc290..23c984d75ffff884c9e6d1fff6259233507b5c82 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file FormUrl.h
+ * \file xforms/FormUrl.h
  * Copyright 2000-2001 the LyX Team
  * Read the file COPYING
  *
index c047bac63a0ec3cc2f240b77dd6bc75d858b301d..47fc03db2995e07fb3f1494737abd3a51418f948 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file GUIRunTime.C
+ * \file xforms/GUIRunTime.C
  * Copyright 2000-2001 The LyX Team.
  * See the file COPYING.
  *
@@ -46,7 +46,7 @@ int const xforms_include_version = FL_INCLUDE_VERSION;
 } // namespace anon
 
 
-int GUIRunTime::initApplication(int &, char **)
+int GUIRunTime::initApplication(int &, char * [])
 {
        // Check the XForms version in the forms.h header against
        // the one in the libforms. If they don't match quit the
index 1cd764b2416b9ee60cfcd3c3bab1948d99e85b64..3c45d6d1acc29776c70fb4cf17953a3368daf843 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Timeout_pimpl.C
+ * \file xforms/Timeout_pimpl.C
  * Copyright 2001 LyX Team
  * Read COPYING
  *
index cf4306a46cf3cab4e5f3c115a577b6fc4dc9ee29..c4dd835f9fa387c5c42659cd43382b16c2f3016b 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file Timeout_pimpl.h
+ * \file xforms/Timeout_pimpl.h
  * Copyright 2001 LyX Team
  * Read COPYING
  *
index cae74b7fef7e6db52b283f165adc6868e4d026c2..da2f72979b6d4c9425b5cac6a2e9263c7eab3335 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file FormBase.C
+ * \file Toolbar_pimpl.C
  * Copyright 1995 Matthias Ettrich
  * Copyright 1995-2001 The LyX Team.
  * Copyright 1996-1998 Lars Gullik Bjønnes