+ label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
+}
+
+/********* String / Directory **********/
+DirectoryConfigControl::DirectoryConfigControl( vlc_object_t *_p_this,
+ module_config_t *_p_item, QWidget *_p_widget,
+ QGridLayout *_p_layout, int& _int, bool _pwd ) :
+ FileConfigControl( _p_this, _p_item, _p_widget, _p_layout, _int, _pwd)
+{}
+
+DirectoryConfigControl::DirectoryConfigControl( vlc_object_t *_p_this,
+ module_config_t *_p_item, QLabel *_p_label,
+ QLineEdit *_p_line, QPushButton *_p_button, bool _pwd ):
+ FileConfigControl( _p_this, _p_item, _p_label, _p_line, _p_button, _pwd)
+{}
+
+void DirectoryConfigControl::updateField()
+{
+ QString dir = QFileDialog::getExistingDirectory( NULL,
+ qtr( "Select Directory" ),
+ text->text().isEmpty() ?
+ qfu( config_GetHomeDir() ) : text->text(),
+ QFileDialog::ShowDirsOnly |
+ QFileDialog::DontResolveSymlinks );
+ if( dir.isNull() ) return;
+ text->setText( dir );
+}
+
+#if 0
+#include <QFontDialog>
+
+/********* String / Font **********/
+FontConfigControl::FontConfigControl( vlc_object_t *_p_this,
+ module_config_t *_p_item, QWidget *_p_widget,
+ QGridLayout *_p_layout, int& _int, bool _pwd ) :
+ FileConfigControl( _p_this, _p_item, _p_widget, _p_layout, _int, _pwd)
+{}
+
+FontConfigControl::FontConfigControl( vlc_object_t *_p_this,
+ module_config_t *_p_item, QLabel *_p_label,
+ QLineEdit *_p_line, QPushButton *_p_button, bool _pwd ):
+ FileConfigControl( _p_this, _p_item, _p_label, _p_line, _p_button, _pwd)
+{}
+
+void FontConfigControl::updateField()
+{
+ bool ok;
+ QFont font = QFontDialog::getFont( &ok, QFont( text->text() ), NULL );
+ if( !ok ) return;
+ text->setText( font.family() );