X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCollapsable.h;h=d7d050e3fea9a44aba29ea8d1b5b28026714f58d;hb=3588f2f69675df8dbf829800b0ed6e4a455c68b4;hp=fda6f84e3c4d2397ca5b2b05c9ad905c69e8c462;hpb=222b3580d21a8ce2d8c499db4de885e9b8a94d88;p=lyx.git diff --git a/src/insets/InsetCollapsable.h b/src/insets/InsetCollapsable.h index fda6f84e3c..d7d050e3fe 100644 --- a/src/insets/InsetCollapsable.h +++ b/src/insets/InsetCollapsable.h @@ -45,7 +45,7 @@ public: /// docstring toolTip(BufferView const & bv, int x, int y) const; /// - docstring name() const { return from_ascii("Collapsable"); } + docstring layoutName() const { return from_ascii("Collapsable"); } /// void read(Lexer &); /// @@ -141,7 +141,9 @@ public: /// virtual bool usePlainLayout() const { return true; } /// - virtual docstring contextMenu(BufferView const & bv, int x, int y) const; + std::string contextMenu(BufferView const & bv, int x, int y) const; + /// + std::string contextMenuName() const; /// docstring floatName(std::string const & type) const; protected: