]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiInfo.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiInfo.h
index 01fcffd40f51a51526caa1636343162933130456..9094dc7e0c1af3e879431486009668a23496c0a6 100644 (file)
@@ -17,8 +17,6 @@
 
 namespace lyx {
 
-class InsetInfo;
-
 namespace frontend {
 
 class GuiInfo : public DialogView, public Ui::InfoUi
@@ -28,17 +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:
+       void paramsToDialog();
+       void dialogToParams();
+       QString type_;
+       QString name_;
 };
 
 } // namespace frontend