]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.h
Remove obsolete (and false) comment.
[lyx.git] / src / graphics / PreviewLoader.h
index 70807e613c0157347ce97f11a551513568996327..ca22a9fa5c56706ef327ded5a5868e1ec837ba4d 100644 (file)
@@ -18,9 +18,9 @@
 #ifndef PREVIEWLOADER_H
 #define PREVIEWLOADER_H
 
-#include <boost/signal.hpp>
+#include "support/signals.h"
+
 #include <QObject>
-#include "support/docstring.h"
 
 #include "ColorCode.h"
 
@@ -68,11 +68,6 @@ public:
        /// Remove this snippet of LaTeX from the PreviewLoader.
        void remove(std::string const & latex_snippet) const;
 
-       /// Record math macro definitions added to the loader
-       void addMacroDef(docstring const & latex_snippet) const;
-       /// Has a math macro definition already been added to the loader?
-       bool hasMacroDef(docstring const & latex_snippet) const;
-
        /** We have accumulated several latex snippets with status "InQueue".
         *  Initiate their transformation into bitmap images.
         */
@@ -82,10 +77,10 @@ public:
         *  has been created and is ready for loading through
         *  lyx::graphics::PreviewImage::image().
         */
-       typedef boost::signal<void(PreviewImage const &)> sig_type;
-       typedef sig_type::slot_type slot_type;
+       typedef signals2::signal<void(PreviewImage const &)> sig;
+       typedef sig::slot_type slot;
        ///
-       boost::signals::connection connect(slot_type const &) const;
+       signals2::connection connect(slot const &) const;
 
        /** When PreviewImage has finished loading the image file into memory,
         *  it tells the PreviewLoader to tell the outside world