]> 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 379b8be68ef82e4e7e085c6146091ccafbf95e29..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();
@@ -134,6 +135,9 @@ private Q_SLOTS:
        ///
        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