]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt2/Dialogs.C
Move Dialogs::redrawGUI to frontends/Dialogs.C from all those guis.
[features.git] / src / frontends / qt2 / Dialogs.C
index 80d667fe59f93b5cb7dc12effddb86d7e59d6e0b..401d460dc655e724105fa6a1cf59f458a3c0c483 100644 (file)
 #include "xforms/FormShowFile.h"
 #include "xforms/FormTabular.h"
  
-#include "graphics/GraphicsImageXPM.h"
 #include "GUI.h"
 
-// this makes no real sense for Qt2
-SigC::Signal0<void> Dialogs::redrawGUI;
-
-
 Dialogs::Dialogs(LyXView * lv)
 {
        // dialogs that have been converted to new scheme
@@ -129,16 +123,3 @@ Dialogs::Dialogs(LyXView * lv)
        // dialogs by a simple connection here.
        hideAll.connect(hideBufferDependent.slot());
 }
-// Called bu the graphics cache to connect the approriate frontend
-// image loading routines to the LyX kernel.
-void Dialogs::initialiseGraphics()
-{
-       using namespace grfx;
-       using SigC::slot;
-    
-       // connect the image loader based on the XPM library
-       GImage::newImage.connect(slot(&GImageXPM::newImage));
-       GImage::loadableFormats.connect(slot(&GImageXPM::loadableFormats));
-}