]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.h
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[lyx.git] / src / insets / InsetVSpace.h
index eeec30c1b8970025c5b40835fbcac5b04969943a..4a8a1049316ab64da5ba2fb852a0a6b69425eb0b 100644 (file)
@@ -25,8 +25,6 @@ public:
        InsetVSpace() : Inset(0) {}
        ///
        InsetVSpace(VSpace const &);
-       ///
-       ~InsetVSpace();
        /// How much?
        VSpace const & space() const { return space_; }
        ///
@@ -34,18 +32,20 @@ public:
        ///
        bool hasSettings() const { return true; }
        ///
-       docstring contextMenu(BufferView const & bv, int x, int y) const;
+       docstring contextMenuName() const;
        ///
        static void string2params(std::string const &, VSpace &);
        ///
        static std::string params2string(VSpace const &);
+       ///
+       bool clickable(int, int) const { return true; }
 private:
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
@@ -70,8 +70,6 @@ private:
        Inset * clone() const { return new InsetVSpace(*this); }
        ///
        docstring const label() const;
-       ///
-       bool showInsetDialog(BufferView * bv) const;
 
        ///
        VSpace space_;