/**
* \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),
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())
nameED->setEnabled(true);
}
-
-void QRefDialog::refSelected(const QString & sel)
+
+void QRefDialog::refSelected(const QString &)
{
form_->gotoRef();
}