]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QDelimiterDialog.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QDelimiterDialog.h
index 649a048f4119d75503fe646895573ee08512ba71..0fbdbe3bf475abfd6abcb206e3938f18f31887a5 100644 (file)
@@ -1,48 +1,47 @@
+// -*- C++ -*-
 /**
  * \file QDelimiterDialog.h
- * 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
  */
 
 #ifndef QDELIMITERDIALOG_H
 #define QDELIMITERDIALOG_H
 
-#include <config.h>
+#ifdef __GNUG__
+#pragma interface
+#endif
 
-#include "LString.h"
 #include "ui/QDelimiterDialogBase.h"
+#include "LString.h"
 
 class QMath;
 class IconPalette;
 class QLabel;
 
-class QDelimiterDialog : public QDelimiterDialogBase
-{
+class QDelimiterDialog : public QDelimiterDialogBase {
        Q_OBJECT
-
 public:
        QDelimiterDialog(QMath * form);
-
 public slots:
-       void ldelim_clicked(string str);
-       void rdelim_clicked(string str);
+       void ldelim_clicked(string const & str);
+       void rdelim_clicked(string const & str);
        void insertClicked();
-
 protected:
        //needed ? virtual void closeEvent(QCloseEvent * e);
-
 private:
        void set_label(QLabel * label, string const & str);
 
-       /// symbol of left delimiter 
+       /// symbol of left delimiter
        string left_;
 
        /// symbol of right delimiter
        string right_;
+
        /// owning form
        QMath * form_;
 };