]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QBibtexDialog.C
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QBibtexDialog.C
index 966c143e2f1d854a28dfb0b1feb55aa77f319834..38469d6f22b49808cbb0c0904555fbe007d40a01 100644 (file)
@@ -1,13 +1,19 @@
 /**
  * \file QBibtexDialog.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 John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
-#include <vector> 
+
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "ControlBibtex.h"
 #include "gettext.h"
 #include "debug.h"
 
 #include "QBibtexDialog.h"
 #include "QBibtex.h"
+
+#include <vector>
+
+
 QBibtexDialog::QBibtexDialog(QBibtex * form)
        : QBibtexDialogBase(0, 0, false, 0),
        form_(form)
@@ -67,7 +76,7 @@ void QBibtexDialog::addPressed()
                for(unsigned int i = 0; i!=databaseLB->count(); i++) {
                        if (databaseLB->text(i).latin1()==f)
                                present = true;
-                       
+
                }
                if (!present) {
                        databaseLB->insertItem(f.c_str());
@@ -83,7 +92,7 @@ void QBibtexDialog::deletePressed()
 }
 
 
-void QBibtexDialog::styleChanged(const QString & sel)
+void QBibtexDialog::styleChanged(QString const & sel)
 {
        styleCB->insertItem(sel,0);
 }