]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.h
whitespace only
[lyx.git] / src / graphics / PreviewLoader.h
index 6910984c9ed13eb77c851ac49ee3bad94403fd4d..3f617628fc2dd7d9d15520ca5a11d564dfcffdd1 100644 (file)
@@ -19,6 +19,7 @@
 #define PREVIEWLOADER_H
 
 #include <boost/signal.hpp>
+#include <QObject>
 
 #include "ColorCode.h"
 
@@ -30,7 +31,8 @@ namespace graphics {
 
 class PreviewImage;
 
-class PreviewLoader {
+class PreviewLoader : public QObject {
+       Q_OBJECT
 public:
        /** We need buffer because we require the preamble to the
         *  LaTeX file.
@@ -91,6 +93,12 @@ public:
        /// The foreground color used
        static ColorCode foregroundColor() { return Color_preview; }
 
+       double displayPixelRatio() const ;
+
+public Q_SLOTS:
+       ///
+       void refreshPreviews();
+
 private:
        /// noncopyable
        PreviewLoader(PreviewLoader const &);