]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.h
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / graphics / PreviewLoader.h
index ecb518f1a880423df1485f1ca14f875c412b1433..5ce25847ec8565eb3c423212cfee84f9b654b787 100644 (file)
 
 #include <boost/utility.hpp>
 #include <boost/scoped_ptr.hpp>
-#include <boost/signals/signal1.hpp>
+#include <boost/signal.hpp>
 
-class Buffer;
 
 namespace lyx {
+
+class Buffer;
+
 namespace graphics {
 
 class PreviewImage;
@@ -73,7 +75,8 @@ public:
         *  has been created and is ready for loading through
         *  lyx::graphics::PreviewImage::image().
         */
-       typedef boost::signal1<void, PreviewImage const &>::slot_type slot_type;
+       typedef boost::signal<void(PreviewImage const &)> sig_type;
+       typedef sig_type::slot_type slot_type;
        ///
        boost::signals::connection connect(slot_type const &) const;