]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QParagraph.h
The Cygwin path fix.
[lyx.git] / src / frontends / qt2 / QParagraph.h
index f51890f76e8d86d2da1342098c889da31c5fcbe7..d036659fb60054c23db1ca021a88066464c1f317 100644 (file)
@@ -7,30 +7,28 @@
  * \author Edwin Leuven
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef QPARAGRAPH_H
 #define QPARAGRAPH_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "QDialogView.h"
 
-#include "Qt2Base.h"
-#include <vector>
+namespace lyx {
+namespace frontend {
 
 class ControlParagraph;
 class QParagraphDialog;
 
 
 class QParagraph
-       : public Qt2CB<ControlParagraph, Qt2DB<QParagraphDialog> >
+       : public QController<ControlParagraph, QView<QParagraphDialog> >
 {
 public:
        friend class QParagraphDialog;
 
-       QParagraph();
+       QParagraph(Dialog &);
 private:
        /// Apply changes
        virtual void apply();
@@ -38,8 +36,9 @@ private:
        virtual void update_contents();
        /// build the dialog
        virtual void build_dialog();
-
-       std::vector<string> units_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // QPARAGRAPH_H