X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiInfo.h;h=9094dc7e0c1af3e879431486009668a23496c0a6;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=c23525a9c43183418c7467e75c234567925e2f2b;hpb=f276338227547ffd7491bb7a1ec75cb0ce9336ad;p=lyx.git diff --git a/src/frontends/qt4/GuiInfo.h b/src/frontends/qt4/GuiInfo.h index c23525a9c4..9094dc7e0c 100644 --- a/src/frontends/qt4/GuiInfo.h +++ b/src/frontends/qt4/GuiInfo.h @@ -17,8 +17,6 @@ namespace lyx { -class InsetInfo; - namespace frontend { class GuiInfo : public DialogView, public Ui::InfoUi @@ -28,21 +26,27 @@ class GuiInfo : public DialogView, public Ui::InfoUi public: GuiInfo(GuiView & lv); - /// Dialog inherited methods + /// \name Dialog inherited methods //@{ void applyView(); void updateView(); - void dispatchParams(); + void dispatchParams() {} void enableView(bool enable); bool isBufferDependent() const { return true; } + bool canApply() const { return true; } //@} private Q_SLOTS: + void on_newPB_clicked(); void on_closePB_clicked(); + void on_typeCO_currentIndexChanged(int); + void on_nameLE_textChanged(QString const &); private: - /// - InsetInfo * inset() const; + void paramsToDialog(); + void dialogToParams(); + QString type_; + QString name_; }; } // namespace frontend