]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QRefDialog.C
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QRefDialog.C
index 32ba84dcbe08de517c5bb8610892a76102083bea..61f17d64ee3b1467672f9443c5ac6e2fe03d51b4 100644 (file)
@@ -1,24 +1,31 @@
 /**
  * \file QRefDialog.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author Kalle Dalheimer
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
+#include "ControlRef.h"
+#include "debug.h"
+
+#include "QRef.h"
+#include "QRefDialog.h"
+
 #include <qpushbutton.h>
-#include <qlineedit.h> 
+#include <qlineedit.h>
 #include <qcombobox.h>
-#include <qlistbox.h> 
-#include "QRefDialog.h"
-#include "ControlRef.h" 
-#include "Dialogs.h"
-#include "QRef.h"
-#include "debug.h"
+#include <qlistbox.h>
+
 
 QRefDialog::QRefDialog(QRef * form)
        : QRefDialogBase(0, 0, false, 0),
@@ -48,8 +55,8 @@ void QRefDialog::refHighlighted(const QString & sel)
        if (form_->readOnly())
                return;
 
-       referenceED->setText(sel); 
-       if (form_->at_ref_)     
+       referenceED->setText(sel);
+       if (form_->at_ref_)
                form_->gotoRef();
        gotoPB->setEnabled(true);
        if (form_->typeAllowed())
@@ -58,7 +65,7 @@ void QRefDialog::refHighlighted(const QString & sel)
                nameED->setEnabled(true);
 }
 
+
 void QRefDialog::refSelected(const QString &)
 {
        form_->gotoRef();