* \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> >
+class QParagraph
+ : public QController<ControlParagraph, QView<QParagraphDialog> >
{
- friend class QParagraphDialog;
-
public:
- QParagraph();
+ friend class QParagraphDialog;
+ QParagraph(Dialog &);
private:
/// Apply changes
virtual void apply();
virtual void update_contents();
/// build the dialog
virtual void build_dialog();
-
- std::vector<string> units_;
};
+} // namespace frontend
+} // namespace lyx
+
#endif // QPARAGRAPH_H