]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiApplication.h
If we are in a closeEvent, we don't want to close all buffers, because these may...
[lyx.git] / src / frontends / qt4 / GuiApplication.h
index 50579bc1e3f461f8d78257c5734b3d5e8eec656d..b4236905abf36bf0fe350ef31dde0420e3ff226d 100644 (file)
@@ -59,6 +59,7 @@ public:
        //@{
        bool getStatus(FuncRequest const & cmd, FuncStatus & flag) const;
        bool dispatch(FuncRequest const &);
+       void dispatchDelayed(FuncRequest const &);
        void resetGui();
        void restoreGuiSession();
        Clipboard & clipboard();
@@ -133,7 +134,10 @@ private Q_SLOTS:
        void handleRegularEvents();
        ///
        void onLastWindowClosed();
-       
+
+       ///
+       void processFuncRequestQueue();
+
 private:
        ///
        bool closeAllViews();
@@ -155,9 +159,15 @@ extern GuiApplication * guiApp;
 /// \return the icon file name for the given action.
 QString iconName(FuncRequest const & f, bool unknown);
 
+
+/// \return the pixmap for the given path, name and extension.
+QPixmap getPixmap(QString const & path, QString const & name, QString const & ext);
+
 /// \return an icon for the given action.
 QIcon getIcon(FuncRequest const & f, bool unknown);
 
+GuiApplication * theGuiApp();
+
 } // namespace frontend
 } // namespace lyx