]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.h
whitespace only
[lyx.git] / src / graphics / PreviewLoader.h
index 23af0138866b3377b2be1546d4b3556303a66318..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.
@@ -93,6 +95,10 @@ public:
 
        double displayPixelRatio() const ;
 
+public Q_SLOTS:
+       ///
+       void refreshPreviews();
+
 private:
        /// noncopyable
        PreviewLoader(PreviewLoader const &);