]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiView.h
Amend f441590c
[lyx.git] / src / frontends / qt4 / GuiView.h
index d07f59a2b68f4d2b0f63b72faa087ddeb6e1fcb1..c3ccdbd80a678a0f7f18b38e18594ae2e528578a 100644 (file)
@@ -75,11 +75,17 @@ public:
        /// programmatically and not by the user clicking the x.
        bool closeScheduled();
 
+       /// Things that need to be done when the OSes session manager
+       /// requests a log out.
+       bool prepareAllBuffersForLogout();
+
        int id() const { return id_; }
 
        /// are we busy ?
        bool busy() const;
 
+       /// Signal that the any "auto" minibuffer can be closed now.
+       void resetCommandExecute();
 
        /// \name Generic accessor functions
        //@{
@@ -119,6 +125,7 @@ public:
 
        ///
        void setFocus();
+       bool hasFocus() const;
 
        ///
        void focusInEvent(QFocusEvent * e);
@@ -280,7 +287,7 @@ private:
        bool goToFileRow(std::string const & argument);
 
        ///
-       struct GuiViewPrivate;
+       class GuiViewPrivate;
        GuiViewPrivate & d;
 
 public:
@@ -417,7 +424,7 @@ private:
                PREVBUFFER
        };
        ///
-       void gotoNextOrPreviousBuffer(NextOrPrevious np);
+       void gotoNextOrPreviousBuffer(NextOrPrevious np, bool const move);
 
        /// Is the dialog currently visible?
        bool isDialogVisible(std::string const & name) const;
@@ -445,6 +452,9 @@ private:
        /// functions that call setBusy;
        int busy_;
 
+       /// Request to open the command toolbar if it is "auto"
+       bool command_execute_;
+
 };
 
 } // namespace frontend