[vlc-devel] commit: Qt: use searchLineEdit in plugins dialog. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Jan 5 20:24:33 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 5 20:19:02 2009 +0100| [3e8dca47eedb9f563897cfba6db70b808e2591be] | committer: Jean-Baptiste Kempf
Qt: use searchLineEdit in plugins dialog.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e8dca47eedb9f563897cfba6db70b808e2591be
---
modules/gui/qt4/dialogs/plugins.cpp | 4 +++-
modules/gui/qt4/dialogs/plugins.hpp | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/dialogs/plugins.cpp b/modules/gui/qt4/dialogs/plugins.cpp
index fc653f5..9b1665d 100644
--- a/modules/gui/qt4/dialogs/plugins.cpp
+++ b/modules/gui/qt4/dialogs/plugins.cpp
@@ -27,6 +27,8 @@
#include "plugins.hpp"
+#include "util/customwidgets.hpp"
+
//#include <vlc_modules.h>
#include <QTreeWidget>
@@ -69,7 +71,7 @@ PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
treePlugins->sortByColumn( 1, Qt::AscendingOrder );
QLabel *label = new QLabel( _("&Search:"), this );
- edit = new QLineEdit;
+ edit = new SearchLineEdit( this );
label->setBuddy( edit );
layout->addWidget( label, 1, 0 );
diff --git a/modules/gui/qt4/dialogs/plugins.hpp b/modules/gui/qt4/dialogs/plugins.hpp
index cd0c107..f5371a2 100644
--- a/modules/gui/qt4/dialogs/plugins.hpp
+++ b/modules/gui/qt4/dialogs/plugins.hpp
@@ -29,6 +29,7 @@
class QTreeWidget;
class QLineEdit;
+class SearchLineEdit;
class PluginDialog : public QVLCFrame
{
Q_OBJECT;
@@ -39,7 +40,7 @@ private:
virtual ~PluginDialog();
QTreeWidget *treePlugins;
- QLineEdit *edit;
+ SearchLineEdit *edit;
private slots:
void search( const QString );
};
More information about the vlc-devel
mailing list