]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiHSpace.h
Consider class-provided citation engines
[lyx.git] / src / frontends / qt4 / GuiHSpace.h
index 20a98946e420724c4200b9ea3f126914176bf21d..9be11ab6896c92eeceed25c6432add9bc633e36f 100644 (file)
@@ -29,20 +29,19 @@ private Q_SLOTS:
        ///
        void changedSlot();
        ///
-       void enableWidgets();
+       void enableWidgets() const;
 
 private:
        /// \name InsetParamsWidget inherited methods
        //@{
-       InsetCode insetCode() const { return SPACE_CODE; }
+       InsetCode insetCode() const { return math_mode_ ? MATH_SPACE_CODE : SPACE_CODE; }
        FuncCode creationCode() const { return LFUN_INSET_INSERT; }
+       QString dialogTitle() const { return qt_("Horizontal Space Settings"); }
        void paramsToDialog(Inset const *);
        docstring dialogToParams() const;
-       bool checkWidgets() const;
+       bool checkWidgets(bool readonly) const;
        //@}
        ///
-       docstring dialogToMathParams() const;
-       ///
        bool const math_mode_;
 };