]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiApplication.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiApplication.h
index c7ab77bc152c2cb52bcf9d2c5fb5b1b25440d80e..57b37836c6a40c3e857a459549b8099819e78c30 100644 (file)
@@ -169,6 +169,14 @@ public:
        ///             not the current buffer
        void gotoBookmark(unsigned int idx, bool openFile, bool switchToBuffer);
 
+       /// Start a long operation with some cancel possibility (button or ESC)
+       void startLongOperation();
+       /// This needs to be periodically called to avoid freezing the GUI
+       bool longOperationCancelled();
+       /// Stop the long operation mode (i.e., release the GUI)
+       void stopLongOperation();
+       /// A started long operation is still in progress ?
+       bool longOperationStarted();
 private Q_SLOTS:
        ///
        void execBatchCommands();
@@ -182,6 +190,10 @@ private Q_SLOTS:
        void slotProcessFuncRequestQueue() { processFuncRequestQueue(); }
 
 private:
+       ///
+       void validateCurrentView();
+       ///
+       void updateCurrentView(FuncRequest const & cmd, DispatchResult & dr);
        ///
        bool closeAllViews();
        /// read the given ui (menu/toolbar) file