]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.hpp
Drop trailing semicolons
[vlc] / modules / gui / qt4 / components / simple_preferences.hpp
index 3d18a992c42f564bfae7e579dc6905790c51507a..626de8279bd38084013990262409ecb0f38166a8 100644 (file)
 
 #include <vlc_common.h>
 #include <vlc_interface.h>
-#include <QWidget>
 
 #include "ui/sprefs_input.h"
 #include "ui/sprefs_audio.h"
 #include "ui/sprefs_video.h"
 #include "ui/sprefs_subtitles.h"
 #include "ui/sprefs_interface.h"
+
 #ifdef WIN32
-#include "util/registry.hpp"
+# include "util/registry.hpp"
 #endif
 
+#include <QWidget>
+
 enum {
     SPrefsInterface = 0,
     SPrefsAudio,
@@ -55,10 +57,10 @@ enum {
 enum {
     CachingCustom = 0,
     CachingLowest = 100,
-    CachingLow = 200,
+    CachingLow    = 200,
     CachingNormal = 300,
-    CachingHigh = 400,
-    CachingHigher = 500
+    CachingHigh   = 750,
+    CachingHigher = 2500
 };
 
 enum {
@@ -71,9 +73,12 @@ enum {
        fileW,
        audioOutCoB,
        normalizerChB,
-       volLW };
-enum { recordChB, dumpChB, bandwidthChB, timeshiftChB, inputLE, cachingCoB };
-enum { skinRB, qtRB };
+       volLW,
+       headphoneB,
+       spdifChB,
+};
+enum { inputLE, cachingCoB };
+enum { skinRB, qtRB, styleCB };
 
 class ConfigControl;
 class QComboBox;
@@ -88,9 +93,9 @@ class QTreeWidgetItem;
 
 class SPrefsCatList : public QWidget
 {
-    Q_OBJECT;
+    Q_OBJECT
 public:
-    SPrefsCatList( intf_thread_t *, QWidget *);
+    SPrefsCatList( intf_thread_t *, QWidget *, bool );
     virtual ~SPrefsCatList() {};
 private:
     intf_thread_t *p_intf;
@@ -104,8 +109,8 @@ class SPrefsPanel : public QWidget
 {
     Q_OBJECT
 public:
-    SPrefsPanel( intf_thread_t *, QWidget *, int );
-    virtual ~SPrefsPanel() {};
+    SPrefsPanel( intf_thread_t *, QWidget *, int, bool );
+    virtual ~SPrefsPanel();
     void apply();
     void clean();
 private:
@@ -115,7 +120,7 @@ private:
     int number;
 
     QList<QWidget *> optionWidgets;
-    QString qs_filter;
+    QStringList qs_filter;
 
 #ifdef WIN32
     QList<QTreeWidgetItem *> listAsso;
@@ -131,6 +136,7 @@ private slots:
     void assoDialog();
     void saveAsso();
 #endif
+    void changeStyle( QString );
 };
 
 #endif