#define PREVIEWLOADER_H
#include <boost/signal.hpp>
-#include "support/docstring.h"
+#include <QObject>
#include "ColorCode.h"
class PreviewImage;
-class PreviewLoader {
+class PreviewLoader : public QObject {
+ Q_OBJECT
public:
/** We need buffer because we require the preamble to the
* LaTeX file.
/// 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.
*/
double displayPixelRatio() const ;
+public Q_SLOTS:
+ ///
+ void refreshPreviews();
+
private:
/// noncopyable
PreviewLoader(PreviewLoader const &);