]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.h
cosmetics
[lyx.git] / src / ToolbarBackend.h
index c7d32cf449ac96d88c76139c0c15852a1bd43068..95dc8900b726e9021a1ff9aabf19d1907c8ccb57 100644 (file)
@@ -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