X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiNomencl.h;h=0b83d2e0e28d0e12a97f1c048ab7fec6c5809508;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=0029f448d370bdde797cd1e7224ee819a0617718;hpb=c621ec9843c73e649cb833719f89f48d1a21b600;p=lyx.git diff --git a/src/frontends/qt4/GuiNomencl.h b/src/frontends/qt4/GuiNomencl.h index 0029f448d3..0b83d2e0e2 100644 --- a/src/frontends/qt4/GuiNomencl.h +++ b/src/frontends/qt4/GuiNomencl.h @@ -14,13 +14,15 @@ #ifndef GUINOMENCLATURE_H #define GUINOMENCLATURE_H -#include "GuiCommand.h" +#include "GuiDialog.h" #include "ui_NomenclUi.h" +#include "insets/InsetCommandParams.h" + namespace lyx { namespace frontend { -class GuiNomenclature : public GuiCommand, public Ui::NomenclUi +class GuiNomenclature : public GuiDialog, public Ui::NomenclUi { Q_OBJECT @@ -37,7 +39,21 @@ private: /// Apply changes void applyView(); /// update - void updateContents(); + void updateContents() {} + /// + bool initialiseParams(std::string const & data); + /// + void paramsToDialog(InsetCommandParams const & icp); + /// clean-up on hide. + void clearParams() { params_.clear(); } + /// clean-up on hide. + void dispatchParams(); + /// + bool isBufferDependent() const { return true; } + +private: + /// + InsetCommandParams params_; }; } // namespace frontend