X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt2%2FQParagraph.h;h=d036659fb60054c23db1ca021a88066464c1f317;hb=7b214dd05e55597e49230da58f5525639c088d52;hp=f51218c7e1fe5d49fc88836a40e53b13f21a9e51;hpb=9a4842fc84493d7587f177aeda4c66f56b34c0dc;p=lyx.git diff --git a/src/frontends/qt2/QParagraph.h b/src/frontends/qt2/QParagraph.h index f51218c7e1..d036659fb6 100644 --- a/src/frontends/qt2/QParagraph.h +++ b/src/frontends/qt2/QParagraph.h @@ -1,31 +1,34 @@ // -*- 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 - * \author John Levon + * \author Edwin Leuven + * \author John Levon + * + * Full author contact details are available in file CREDITS. */ #ifndef QPARAGRAPH_H #define QPARAGRAPH_H -#include -#include "Qt2Base.h" +#include "QDialogView.h" + +namespace lyx { +namespace frontend { class ControlParagraph; class QParagraphDialog; -class Dialogs; -class QParagraph : - public Qt2CB > -{ - friend class QParagraphDialog; +class QParagraph + : public QController > +{ public: - QParagraph(ControlParagraph &, Dialogs &); + friend class QParagraphDialog; + QParagraph(Dialog &); private: /// Apply changes virtual void apply(); @@ -33,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