#define PREVIEWLOADER_H
#include <boost/signal.hpp>
+#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.
/// The foreground color used
static ColorCode foregroundColor() { return Color_preview; }
+ double displayPixelRatio() const ;
+
+public Q_SLOTS:
+ ///
+ void refreshPreviews();
+
private:
/// noncopyable
PreviewLoader(PreviewLoader const &);