]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/preferences_widgets.hpp
Qt4 - Preferences. Introduction of a checkBoxListItem struct to handle (key, value...
[vlc] / modules / gui / qt4 / components / preferences_widgets.hpp
index 7881261f23e37b9241e6ff269ad2440f19aad4b3..3666f22e71a6d6fb829ae236b2129bda1e1816ff 100644 (file)
@@ -326,6 +326,11 @@ private:
     QComboBox *combo;
 };
 
+struct checkBoxListItem {
+    QCheckBox *checkBox;
+    char *psz_module;
+};
+
 class ModuleListConfigControl : public VStringConfigControl
 {
     Q_OBJECT;
@@ -342,7 +347,7 @@ public slots:
     void onUpdate( int value );
 private:
     void finish( bool );
-    QVector<QCheckBox*> modules;
+    QVector<checkBoxListItem*> modules;
     QGroupBox *groupBox;
     QLineEdit *text;
 };