X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FToolbarBackend.h;h=95dc8900b726e9021a1ff9aabf19d1907c8ccb57;hb=2417d9d911dbca181c48f45d1aad26d31c9aa815;hp=c7d32cf449ac96d88c76139c0c15852a1bd43068;hpb=39e79d8602920eefe36e898c9f415afb979521b2;p=lyx.git diff --git a/src/ToolbarBackend.h b/src/ToolbarBackend.h index c7d32cf449..95dc8900b7 100644 --- a/src/ToolbarBackend.h +++ b/src/ToolbarBackend.h @@ -36,7 +36,7 @@ public: LAYOUTS, /// a special widget to insert tabulars TABLEINSERT, - /// + /// POPUPMENU, /// ICONPALETTE @@ -126,13 +126,14 @@ public: /// read ui toolbar settings void readToolbarSettings(Lexer &); + /// - ToolbarInfo const & getToolbar(std::string const & name) const; + ToolbarInfo const * getDefinedToolbarInfo(std::string const & name) const; /// - ToolbarInfo & getToolbar(std::string const & name); + ToolbarInfo * getUsedToolbarInfo(std::string const & name); private: - /// all the toolbars + /// all the defined toolbars Toolbars toolbars; /// toolbars listed