]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCommandBuffer.h
Improve wording (#10670)
[lyx.git] / src / frontends / qt4 / GuiCommandBuffer.h
index 07370875f31cea00c653f266247bae721cb49a2e..8225ec71a720c8b1c42cfbda55da12d3030c4c59 100644 (file)
@@ -24,6 +24,9 @@
 class QListWidgetItem;
 
 namespace lyx {
+
+class DispatchResult;
+
 namespace frontend {
 
 class GuiView;
@@ -37,8 +40,6 @@ public:
        GuiCommandBuffer(GuiView * view);
 
 public Q_SLOTS:
-       /// cancel command compose
-       void cancel();
        /// dispatch a command
        void dispatch();
        /// tab-complete
@@ -67,9 +68,6 @@ private:
        /// return the font and depth in the active BufferView as a message.
        docstring const getCurrentState() const;
 
-       /// hide the command buffer.
-       void hide() const;
-
        /// open a listbox and show the contents of the list. When reversed
        /// is true, the contents of the list is filled bottom-up.
        void showList(std::vector<std::string> const & list, 
@@ -80,7 +78,7 @@ private:
                                              std::string & new_prefix);
 
        /// dispatch a command
-       void dispatch(std::string const & str);
+       DispatchResult const & dispatch(std::string const & str);
 
        /// available command names
        std::vector<std::string> commands_;