]> 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 6135e94db0b5457122d45a360667d301e9ed96b9..b4236905abf36bf0fe350ef31dde0420e3ff226d 100644 (file)
@@ -159,11 +159,14 @@ 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);
 
-static GuiApplication * theGuiApp()
-{ return dynamic_cast<GuiApplication *>(theApp()); }
+GuiApplication * theGuiApp();
 
 } // namespace frontend
 } // namespace lyx