X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fcomponents%2Fcomplete_preferences.hpp;h=29105e863833b57b53def05801f55b10e4c0e9ea;hb=36f0edc98752f8afa17a50cb8de086b30ba54c2e;hp=1c53e2e8b97eca5d93e31e61c0b13a7907cccec3;hpb=925ab46a94adc6829afd7990a58bb11ed19cf232;p=vlc diff --git a/modules/gui/qt4/components/complete_preferences.hpp b/modules/gui/qt4/components/complete_preferences.hpp index 1c53e2e8b9..29105e8638 100644 --- a/modules/gui/qt4/components/complete_preferences.hpp +++ b/modules/gui/qt4/components/complete_preferences.hpp @@ -1,7 +1,7 @@ /***************************************************************************** * preferences_tree.hpp : Tree of modules for preferences **************************************************************************** - * Copyright (C) 2006 the VideoLAN team + * Copyright (C) 2006-2007 the VideoLAN team * $Id$ * * Authors: Clément Stenac @@ -24,10 +24,15 @@ #ifndef _PREFSTREE_H_ #define _PREFSTREE_H_ -#include -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include #include +#include + enum { TYPE_CATEGORY, @@ -36,7 +41,7 @@ enum TYPE_MODULE }; -class PrefsPanel; +class AdvPrefsPanel; class QLabel; class QVBoxLayout; @@ -46,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; @@ -75,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: