]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiPrefs.h
Amend f441590c
[lyx.git] / src / frontends / qt4 / GuiPrefs.h
index 90543cab9cc00a703a1ddb092c521d995eba177f..4094d0137ed02e7867017344223730a153b771e5 100644 (file)
@@ -39,7 +39,6 @@
 #include "ui_PrefConvertersUi.h"
 #include "ui_PrefFileformatsUi.h"
 #include "ui_PrefLanguageUi.h"
-#include "ui_PrefPrinterUi.h"
 #include "ui_PrefUi.h"
 #include "ui_PrefIdentityUi.h"
 #include "ui_ShortcutUi.h"
@@ -102,6 +101,9 @@ public:
        /// update the screen fonts after change
        void updateScreenFonts();
 
+       /// update the previews after change
+       void updatePreviews();
+
        LyXRC & rc() { return rc_; }
        Converters & converters() { return converters_; }
        Formats & formats() { return formats_; }
@@ -124,6 +126,7 @@ private:
        std::vector<std::string> colors_;
 
        bool update_screen_font_;
+       bool update_previews_;
 };
 
 
@@ -396,17 +399,6 @@ private Q_SLOTS:
 };
 
 
-class PrefPrinter : public PrefModule, public Ui::PrefPrinterUi
-{
-       Q_OBJECT
-public:
-       PrefPrinter(GuiPreferences * form);
-
-       void applyRC(LyXRC & rc) const;
-       void updateRC(LyXRC const & rc);
-};
-
-
 class PrefUserInterface : public PrefModule, public Ui::PrefUi
 {
        Q_OBJECT