]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QParagraph.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QParagraph.h
index f51218c7e1fe5d49fc88836a40e53b13f21a9e51..f51890f76e8d86d2da1342098c889da31c5fcbe7 100644 (file)
@@ -1,31 +1,36 @@
 // -*- C++ -*-
 /**
  * \file QParagraph.h
- * Copyright 2001 LyX Team
- * see the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Edwin Leuven <leuven@fee.uva.nl>
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author Edwin Leuven
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef QPARAGRAPH_H
 #define QPARAGRAPH_H
 
-#include <config.h>
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "Qt2Base.h"
+#include <vector>
 
 class ControlParagraph;
 class QParagraphDialog;
-class Dialogs;
 
-class QParagraph :
-       public Qt2CB<ControlParagraph, Qt2DB<QParagraphDialog> >
-{
-       friend class QParagraphDialog;
 
+class QParagraph
+       : public Qt2CB<ControlParagraph, Qt2DB<QParagraphDialog> >
+{
 public:
-       QParagraph(ControlParagraph &, Dialogs &);
+       friend class QParagraphDialog;
 
+       QParagraph();
 private:
        /// Apply changes
        virtual void apply();
@@ -33,7 +38,7 @@ private:
        virtual void update_contents();
        /// build the dialog
        virtual void build_dialog();
-       
+
        std::vector<string> units_;
 };