]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/simple_preferences.hpp
Qt4 - Fix Simple Preference saving...
[vlc] / modules / gui / qt4 / components / simple_preferences.hpp
index ef8c479941919f096b303b1bb8fa4963eb95e381..8285c805c912d1837298678518133cb25f1f6ecd 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
-
 #include <QWidget>
 
 enum {
@@ -41,6 +40,9 @@ enum {
 #define SPrefsDefaultCat SPrefsInterface
 
 class ConfigControl;
+class QComboBox;
+class QLineEdit;
+class QRadioButton;
 
 class SPrefsCatList : public QWidget
 {
@@ -68,20 +70,21 @@ private:
     intf_thread_t *p_intf;
     QList<ConfigControl *> controls;
 
-/* ConfigControl for audio output options */
-#ifndef WIN32
-    ConfigControl *alsa_options;
-    ConfigControl *oss_options;
-#else
-    ConfigControl *directx_options;
-#endif
-    ConfigControl *file_options;
+    int number;
 
-    void updateAudioOptions( QString );
+    QWidget *alsa_options;
+    QWidget *oss_options;
+    QWidget *directx_options;
+    QWidget *file_options;
+    QComboBox *audioOutput;
+    QLineEdit *inputDevice;
+    QRadioButton *skinInterfaceButton;
+    QRadioButton *qtInterfaceButton;
 
 /* Display only the options for the selected audio output */
 private slots:
-    void AudioDeviceChanged();
+    void lastfm_Changed( int );
+    void updateAudioOptions( int );
 };
 
 #endif