]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/preferences_widgets.hpp
Qt: Drop the no longer used sample_classic
[vlc] / modules / gui / qt4 / components / preferences_widgets.hpp
index fca9457629ac73bc689a0ec647b652299b48eaa5..4ef0c35274b260c3a819af63a89377e30c4c6238 100644 (file)
@@ -63,8 +63,13 @@ class InterfacePreviewWidget : public QLabel
     Q_OBJECT
 public:
     InterfacePreviewWidget( QWidget * );
+    enum enum_style {
+                 COMPLETE, // aka MPC
+                 MINIMAL,  // aka WMP12 minimal
+                 SKINS };
 public slots:
-    void setPreview( int );
+    void setPreview( enum_style );
+    void setNormalPreview( bool b_minimal );
 };
 
 /*******************************************************
@@ -339,7 +344,7 @@ public:
     FontConfigControl( vlc_object_t *, module_config_t *, QLabel *,
                        QFontComboBox *);
     virtual ~FontConfigControl() {};
-    virtual QString getValue(){ return font->currentFont().toString(); }
+    virtual QString getValue(){ return font->currentFont().family(); }
 protected:
     QLabel *label;
     QFontComboBox *font;