]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt3/QLMenubar.h
Change MenuBackend and the other menuclasses to store a docstring. Do the required...
[features.git] / src / frontends / qt3 / QLMenubar.h
index 1a6d5aab3ee028e6f4c9714310be53362ee1116b..86963dccead4862fce418834431b3cbf8bd89ffb 100644 (file)
@@ -32,7 +32,7 @@ public:
        QLMenubar(LyXView *, MenuBackend &);
 
        /// opens a top-level submenu given its name
-       void openByName(std::string const &);
+       void openByName(lyx::docstring const &);
 
        /// update the state of the menuitems - not needed
        void update();
@@ -49,7 +49,7 @@ private:
        /// menu controller
        MenuBackend & menubackend_;
 
-       typedef std::map<std::string, QLPopupMenu *> NameMap;
+       typedef std::map<lyx::docstring, QLPopupMenu *> NameMap;
 
        /// name to menu for openByName
        NameMap name_map_;