X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fcomponents%2Fcomplete_preferences.hpp;h=29105e863833b57b53def05801f55b10e4c0e9ea;hb=36f0edc98752f8afa17a50cb8de086b30ba54c2e;hp=4a7ea71e48227d91729103e66ed66347fac7f742;hpb=bad8f53f2b734cdc78f18bef8be1dc1589e5db4c;p=vlc diff --git a/modules/gui/qt4/components/complete_preferences.hpp b/modules/gui/qt4/components/complete_preferences.hpp index 4a7ea71e48..29105e8638 100644 --- a/modules/gui/qt4/components/complete_preferences.hpp +++ b/modules/gui/qt4/components/complete_preferences.hpp @@ -24,7 +24,11 @@ #ifndef _PREFSTREE_H_ #define _PREFSTREE_H_ -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include #include #include @@ -37,7 +41,7 @@ enum TYPE_MODULE }; -class PrefsPanel; +class AdvPrefsPanel; class QLabel; class QVBoxLayout; @@ -47,11 +51,10 @@ public: PrefsItemData() { panel = NULL; i_object_id = 0; i_subcat_id = -1; psz_name = NULL; }; virtual ~PrefsItemData() { free( psz_name ); }; - PrefsPanel *panel; + AdvPrefsPanel *panel; int i_object_id; int i_subcat_id; int i_type; - bool b_submodule; char *psz_name; QString name; QString help; @@ -76,13 +79,13 @@ private: class ConfigControl; -class PrefsPanel : public QWidget +class AdvPrefsPanel : public QWidget { Q_OBJECT public: - PrefsPanel( intf_thread_t *, QWidget *, PrefsItemData * ); - PrefsPanel( QWidget *); - virtual ~PrefsPanel() {}; + AdvPrefsPanel( intf_thread_t *, QWidget *, PrefsItemData * ); + AdvPrefsPanel( QWidget *); + virtual ~AdvPrefsPanel(); void apply(); void clean(); private: