X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt2%2FQParagraph.h;h=d036659fb60054c23db1ca021a88066464c1f317;hb=7b214dd05e55597e49230da58f5525639c088d52;hp=30e789b60d790360752764a16c8812b1f2a17313;hpb=da4456f2aab5c449886cfb40ff6a141d347c92d1;p=lyx.git diff --git a/src/frontends/qt2/QParagraph.h b/src/frontends/qt2/QParagraph.h index 30e789b60d..d036659fb6 100644 --- a/src/frontends/qt2/QParagraph.h +++ b/src/frontends/qt2/QParagraph.h @@ -7,31 +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 +namespace lyx { +namespace frontend { class ControlParagraph; class QParagraphDialog; -class QParagraph : - public Qt2CB > +class QParagraph + : public QController > { - friend class QParagraphDialog; - public: - QParagraph(); + friend class QParagraphDialog; + QParagraph(Dialog &); private: /// Apply changes virtual void apply(); @@ -39,8 +36,9 @@ private: virtual void update_contents(); /// build the dialog virtual void build_dialog(); - - std::vector units_; }; +} // namespace frontend +} // namespace lyx + #endif // QPARAGRAPH_H